Function Hook_cron_log_purging->purge_log
Definitions
sources/hooks/systems/cron/log_purging.php
- Purge a particular log back to just a certain number of days.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$path | PATH | required parameter | N/A | N/A | Path to the log |
$days_to_keep | integer | required parameter | N/A | N/A | Number of days to keep for |