Closed daniellwdb closed 3 years ago
In which timezone are you in?
In which timezone are you in?
Europe/Amsterdam
Pino logs in UTC. I think you are not printing the timezone.
Thanks I will look into this
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am using WSL2, I have
"pino": "^6.9.0"
and"pino-pretty": "^4.3.0"
installed and I am using the following configI noticed that the time in my logs is not the right time, when I run
date +"%T"
I get23:17:16
while pino outputs[2021-01-01 22:17:16] INFO (my-project-name): Hello
Also small question: would
node dist/index.js | pino-redis -U redis://username:password@localhost:6379
be enough for your recommendation?In Pino parlance we call all log processors "transports", and recommend that the transports be run as separate processes, piping the stdout of the application to the stdin of the transport.