The -lc flag should enable/disable coloured output for Gollums' internal logging coming from logrus.
But with the current Gollum version, this flag doesn't work at all.
Context
I tried to deactivate the coloured output with the parameter -lc never to avoid having output formatted like the following in files:
ESC[97mPluginIDESC[0m=GollumKafkaOut ESC[97mPluginTypeESC[0m=producer.Kafka ESC[97mScopeESC[0m=Sarama
2018-01-03T17:42:59+00:00 hostname ESC[90m[2018-01-03 17:42:59 UTC]ESC[0m ESC[97m INFOESC[0m producer/leader/topicname/0 state change to [normal]
Also, the messages from that stream which are also sent to a topic in Kafka contain coloured parts which they shouldn't.
Steps to Reproduce (for bugs)
Configure Gollum to write its internal "_GOLLUM_" stream in a file.
Start Gollum with the parameter -lc never
See entries like above in the newly created file.
Try setting -lc always or -lc auto instead and you won't see any difference.
Issue description
The
-lc
flag should enable/disable coloured output for Gollums' internal logging coming from logrus. But with the current Gollum version, this flag doesn't work at all.Context
I tried to deactivate the coloured output with the parameter
-lc never
to avoid having output formatted like the following in files:Also, the messages from that stream which are also sent to a topic in Kafka contain coloured parts which they shouldn't.
Steps to Reproduce (for bugs)
-lc never
-lc always
or-lc auto
instead and you won't see any difference.Your Environment
Used versions