Skip to main content

log_rotation_stamp

Function log_rotation_stamp 

Source
pub fn log_rotation_stamp(filename: &str) -> Option<&str>
Expand description

The rotation stamp encoded in a freeswitch.log.* filename, or None for the active log and for any name that does not carry one.

Only the stamp is read; whatever logrotate appends after it (a sequence number, a compression suffix) is ignored.