Unable to set no-color log output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.log |
New
|
Undecided
|
Unassigned |
Bug Description
Hello
I am building a custom app using oslo.log running on apache httpd server. (We use olso to communicate with openstack services)
This app is deployed in kubernetes environment, so logs are collected through fluentd or like that.
In this situation every log prints ascii escape character(\x1b[00m) to reset terminal color.
Unfortunately, there is no way to remove or disable ascii escape character.
In configuration file setup process, every option fallbacks to ColorHandler.(https:/
There are three handlers implemented (syslog, journal, color) but non of those can generate plain text without console color characters. (see. https:/
Could be a workaround to solve this issue?