2 years ago
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.
5 Replies
2 years ago
5db697d6-4633-4389-a017-82ee62c54dcb
2 years ago
postgres logs to stderr, thus it's being coloured red
2 years ago
Hmm also bumped into this. @brody do you know a workaround for this? It really pollutes my logging now :P
2 years ago
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 errors)
https://www.postgresql.org/docs/8.2/runtime-config-logging.html
2 years ago
Thanks, that should work for now