feat: Using logging module

This commit is contained in:
Muyao CHEN
2024-10-01 23:52:59 +02:00
parent 04fceee835
commit 08e2d6bd4a
3 changed files with 36 additions and 7 deletions

View File

@ -35,3 +35,14 @@ db:
max-open-connections: 100
# max connection life time
max-connection-life-time: 10s
log:
level: debug
development: true
disalbe-caller: false
disable-stacktrace: false
# console or json
format: console
output-paths:
- stdout
- /tmp/howmuch.log