mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 12:47:25 +08:00
ref: log files are suffix for easier viewing (#433)
This commit is contained in:
@@ -194,6 +194,7 @@ pub fn init_logger(
|
||||
.rotation(tracing_appender::rolling::Rotation::DAILY)
|
||||
.max_log_files(5)
|
||||
.filename_prefix(file_config.file.unwrap_or("easytier".to_string()))
|
||||
.filename_suffix("log")
|
||||
.build(file_config.dir.unwrap_or("./".to_string()))
|
||||
.with_context(|| "failed to initialize rolling file appender")?;
|
||||
file_layer = Some(
|
||||
|
||||
Reference in New Issue
Block a user