feat: logging added
This commit is contained in:
10
log/log.yaml
10
log/log.yaml
@@ -3,10 +3,10 @@ destinations:
|
||||
- type: stdout
|
||||
- type: file
|
||||
config:
|
||||
path: logs/app.log
|
||||
maxSize: "500"
|
||||
path: my_log_file.log
|
||||
maxSize: "500"
|
||||
maxBackups: "15"
|
||||
maxAge: "30"
|
||||
context_keys:
|
||||
- requestId
|
||||
- userId
|
||||
contextKeys:
|
||||
- requestID
|
||||
- userID
|
||||
|
||||
Reference in New Issue
Block a user