fix: logging module

This commit is contained in:
mayur.popli
2025-03-17 23:56:12 +05:30
parent 9722c3bf68
commit 4ada80a361
5 changed files with 576 additions and 0 deletions

12
log/log.yaml Normal file
View 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