All messages in log highlighted as error
Since when I uploaded for the first time my project on Railway, log messages seem to be highlighted in red as if they were considered error messages, but they aren't. How can I fix this? Is it because of my "custom" message formatting?
(I obfuscated my bot's token)
Project ID: 8f6fcf38-2edb-4d1f-a36c-9765c6318f1d
Solution:Jump to solution
logs to stderr will be coloured as red by default, a lot of logging frameworks log to stderr by default for one reason or another.
the two options are, configure the logger to log to stdout, or turn off error colouring...
4 Replies
Project ID:
8f6fcf38-2edb-4d1f-a36c-9765c6318f1d
Solution
logs to stderr will be coloured as red by default, a lot of logging frameworks log to stderr by default for one reason or another.
the two options are, configure the logger to log to stdout, or turn off error colouring
thank you very much, I configured the logger to log to stdout and it worked
no problem!