pub fn secure_logs(mode: u32, log_dir: &Path) -> Result<(), AppError>Expand description
Readies the worker’s logs for mode ([worker] log_mode, B182), as it starts: the logs it creates
get it, and its log directory and the logs already in it are given it.
§Errors
AppError::BadArgument when the directory or a log’s mode can’t be set.