mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-13 07:46:15 -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
@@ -216,6 +216,8 @@ pub fn run() {
|
||||
dir: Some(log_dir.to_string_lossy().to_string()),
|
||||
level: None,
|
||||
file: None,
|
||||
size_mb: None,
|
||||
count: None,
|
||||
})
|
||||
.build()
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
Reference in new issue
Block a user