Skip to main content

LOG_FILE_STEM

Constant LOG_FILE_STEM 

Source
pub const LOG_FILE_STEM: &str;
Expand description

The rotating diagnostic log the daemon writes, inside logs/.

The appender adds its own date suffix, so this is the stem rather than a file that exists. service status reports the directory and the stem, because that is what an operator needs in order to find today’s file and yesterday’s.

It is crate::logging::SERVICE_LOG_STEM and not the operator’s, because a boot-mode daemon runs under a different account and writes a different file. crate::logging::LogRole says why the two were separated.