apply_filters( 'llms_log_split_file_name', string $copy , string $file , string $handle )
Filter the name of a log file copy that’s being backed up because it’s reached the maximum allowed size
Description Description
While it is possible to change the extension of the log file (.log.bk
), it is not recommended. The cron which creates copies filters out .log.bk
so that it doesn’t scan backups and attempt to split them again (infinitely).
Parameters Parameters
- $copy
-
(string) Full path for the copy log file (the backup).
- $file
-
(string) Full path for the original log file.
- $handle
-
(string) Log file handle.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |