Skip to content

Commit f10e77f

Browse files
committed
Ignore only requestId key so errors are fully displayed
Signed-off-by: Luis Mastrangelo <[email protected]>
1 parent 8f5a3ef commit f10e77f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const mainLogger = pino({
3232
colorize: true,
3333
translateTime: true,
3434
messageFormat: '{requestId}{msg}',
35-
// Hide objects from output (but not error object)
36-
hideObject: true,
35+
// Ignore one or several keys, nested keys are supported with each property delimited by a dot character (`.`)
36+
ignore: 'requestId',
3737
},
3838
},
3939
});

0 commit comments

Comments
 (0)