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).


Top ↑

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.


Top ↑

Source Source

File: includes/functions/llms.functions.log.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.