Skip to content

Commit

Permalink
feat: 更新 log4rs.yml 配置文件
Browse files Browse the repository at this point in the history
更新 log4rs.yml 配置文件,将日志级别设置为 info,并添加了两个新的日志记录器。
  • Loading branch information
arloor committed Sep 6, 2024
1 parent cfca766 commit bd7b628
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions log4rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appenders:
stdout:
kind: console
encoder:
pattern: "{d} {h({l}):<5} {m}{n}"
pattern: "{d} {h({l}):<5} {M} {m}{n}"
file:
kind: rolling_file
path: shadowsocks.log
Expand All @@ -19,13 +19,15 @@ appenders:
pattern: shadowsocks.{}.log
count: 5
root:
level: debug
level: info
appenders:
- stdout
- file
loggers:
app::backend::db:
level: info
shadowsocks_rust:
level: debug
shadowsocks_service:
level: debug
app::requests:
level: info
appenders:
Expand Down

0 comments on commit bd7b628

Please sign in to comment.