postgres database log color

Is there a method to alter the color of database log messages in the Railway logging system, or is this an area for potential enhancement? I'd like to avoid red colors for messages that aren't errors/crucial. I'm aware of the filtering feature, but it doesn't save my preferences, requiring me to apply the filter anew each time.
No description
Solution:
postgres logs to stderr, thus it's being coloured red
Jump to solution
6 Replies
Percy
Percy9mo ago
Project ID: 5db697d6-4633-4389-a017-82ee62c54dcb
Michael Li
Michael LiOP9mo ago
5db697d6-4633-4389-a017-82ee62c54dcb
Solution
Brody
Brody9mo ago
postgres logs to stderr, thus it's being coloured red
Duchess
Duchess8mo ago
New reply sent from Help Station thread:
Hmm also bumped into this. @brody do you know a workaround for this? It really pollutes my logging now :P
You're seeing this because this thread has been automatically linked to the Help Station thread.
Duchess
Duchess8mo ago
New reply sent from Help Station thread:
You can either set postgres to log to stdout or stderr (default) so the logs are either going to be all red or no red at all (even for actual logs. https://www.postgresql.org/docs/8.2/runtime-config-logging.html
You're seeing this because this thread has been automatically linked to the Help Station thread.
PostgreSQL Documentation
Error Reporting and Logging
Duchess
Duchess8mo ago
New reply sent from Help Station thread:
Thanks, that should work for now
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server