Pass options to pino logger #418
rishi-afk
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 8 replies
-
Hey @rishi-afk, this is something we can look into. I don't think it would be too difficult to add some logger override options to the payload config. Thoughts on that? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looks like Payload is making use of Pino for logging. It would be great to see if we could pass an optional configuration to the Payload config to setup Pino for a more standard logging setup to log data along with the request context and also disabling pretty json print.
This would help a lot as I am using Payload as a microservice and would benefit from a more standard logging setup. Any feedbacks are welcome. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions