#Is there a way to disable colorized logs?

1 messages · Page 1 of 1 (latest)

idle carbon
#

I’m setting up some log aggregation for myself, and I notice that Overseerr’s logs have ANSI color codes in them, which are read literally by my logging software.

Is there any way to disable the winston.colorize functionality via config?

fickle pond
#

Unfortunately no
There's also a JSON log file, maybe you can use that one instead?

idle carbon
fickle pond
#

There's unfortunately no docs on that since it's only used internally in Overseerr for the log viewer
But it's in the same folder as the log file: /app/config/logs
It's named .machinelogs.json or something similar - emphasis on the leading period in the filename

idle carbon
fickle pond
#

list hidden files too

#

ls -la

idle carbon
#

ohhhh hahaha that’s what you mean by “emphasis dot”

#

thanks @fickle pond

#

and there they are