a year 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.
3 Replies
a year ago
postgres logs to stderr, thus it's being coloured red
a year ago
Hmm also bumped into this. @brody do you know a workaround for this? It really pollutes my logging now :P
a year 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
a year ago
Thanks, that should work for now