Files
huike-back/htyws/config/log4rs.yaml
T
weli 44c320d8fa chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
2026-04-23 17:20:01 +08:00

25 lines
431 B
YAML

# log4rs_demo/config/log4rs.yaml
refresh_rate: 5 seconds
root:
level: debug
appenders:
- stdout
appenders:
stdout:
kind: console
encoder:
pattern: "{d(%+)(local)} [{t}] {h({l})} {M}:{m}{n}"
htyws_append:
kind: file
path: "logs/htyws.log"
encoder:
pattern: "{d(%+)(local)} [{t}] {h({l})} {M}:{m}{n}"
loggers:
htyws:
level: debug
appenders:
- stdout
- htyws_append