mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
allow enable log with cli, limit log size (#1384)
* impl logger rpc * use size based appender * add log args
This commit is contained in:
1 parent
56fd6e4ab6
commit
e06e8a9e8a
17 files changed
+1296
-38
No files matched your search
@@ -119,6 +119,8 @@ impl LoggingConfigLoader for &Cli {
|
||||
dir: self.file_log_dir.clone(),
|
||||
level: self.file_log_level.clone(),
|
||||
file: None,
|
||||
size_mb: None,
|
||||
count: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user