I am using the casdoor docker container and I would like to have the logs just send to stdout or stderr without any color escapes. My docker logs get forwarded to a log aggregation service, and the ansi escapes are just disturbing. Is there a way to configure that? Or may be even an option to log in json format?
is there any mature solution for this? how other OSS project do it?
A lot of other projects simply have an option to omit most of the fancy stuff like logging to files or in color and some log format designator. In my own projects I use log/slog and use the json handler. Is that possible with the beego logging also?
@jumager create a github issue
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casdoor or view latest topics.
1 / 5
Mar 5
