feat: logging added

This commit is contained in:
mayur.popli
2025-03-18 11:05:15 +05:30
parent 4ada80a361
commit c315cd2c77
4 changed files with 468 additions and 485 deletions

View File

@@ -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