Skip to content

Commit

Permalink
Correção
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Feb 8, 2023
1 parent ad019f4 commit e8c9bc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"mustache": "^4.2.0",
"mysql2": "^2.2.5",
"pg": "^8.4.1",
"pino": "^6.9.0",
"pino": "^7.8.0",
"pino-pretty": "^9.1.1",
"qrcode-terminal": "^0.12.0",
"reflect-metadata": "^0.1.13",
Expand Down
7 changes: 2 additions & 5 deletions backend/src/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import pino from "pino";

const logger = pino({
transport: {
target: "pino-pretty",
options: {
colorize: true
}
prettyPrint: {
ignore: "pid,hostname"
},
level: "trace"
});
Expand Down

0 comments on commit e8c9bc4

Please sign in to comment.