Skip to content

Commit

Permalink
feat: logging with winston and request id tracing (#151)
Browse files Browse the repository at this point in the history
* feat: logging with winston and request id tracing

* Update src/shared/infra/logging/logger.ts

Co-authored-by: Victor Hugo <vt.hugo.2021@gmail.com>

* fix: added unsed variable instead of empty value

---------

Co-authored-by: Victor Hugo <vt.hugo.2021@gmail.com>
  • Loading branch information
Lukasveiga and hxsggsz authored Aug 8, 2024
1 parent 97b2eb1 commit 94ead9f
Show file tree
Hide file tree
Showing 10 changed files with 537 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ coverage
.idea/
.env
build-docs
logs
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@types/morgan": "1.9.9",
"@types/node": "20.14.8",
"@types/nodemailer": "6.4.15",
"@types/stack-trace": "0.0.33",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
Expand Down Expand Up @@ -85,12 +86,16 @@
"bcrypt": "5.1.1",
"dotenv": "16.4.5",
"express": "4.19.2",
"express-http-context": "1.2.4",
"glob": "10.3.12",
"handlebars": "4.7.8",
"jsonwebtoken": "9.0.2",
"morgan": "1.10.0",
"zod": "3.23.8",
"nodemailer": "6.9.13"
"nodemailer": "6.9.13",
"stack-trace": "1.0.0-pre2",
"winston": "3.13.1",
"winston-daily-rotate-file": "5.0.0",
"zod": "3.23.8"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit 94ead9f

Please sign in to comment.