fix: logging module
This commit is contained in:
12
log/log.yaml
Normal file
12
log/log.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
level: info
|
||||
destinations:
|
||||
- type: stdout
|
||||
- type: file
|
||||
config:
|
||||
path: logs/app.log
|
||||
maxSize: "500"
|
||||
maxBackups: "15"
|
||||
maxAge: "30"
|
||||
context_keys:
|
||||
- requestId
|
||||
- userId
|
||||
Reference in New Issue
Block a user