Logger Output [v5] #4158
Replies: 1 comment
-
That's normal, the log that you see displayed is formatted in the way stipulated in the doc ; however when you are in dev mode ( NODE_ENV === "developpement" ), there is pino-pretty which comes to display the logs in a slightly more appealing way : https://github.com/pinojs/pino-pretty Also see : https://docs.adonisjs.com/guides/logger#logging-in-development You can disable pino-pretty via this property in the logger configuration, if you want to check the format of your logs : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using adonis v5 and already read the logger guide but upon checking the output of the code in the docs below is different from the actual logs output.
Sample code from the docs and the expected output:
What I get:
Here's my
package.json
for your reference.Beta Was this translation helpful? Give feedback.
All reactions