Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

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?

5views
2users
1 minread

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?

1 / 5
Mar 5