Docker stdout Logging colors

9 views
Skip to first unread message

TAYLOR J HAMMERLING

unread,
Mar 27, 2022, 9:43:30 PMMar 27
to rundeck...@googlegroups.com

Is there a env variable that can be set or passed thru docker-compose.yml that would turn off the stdout color for the rundeck Docker image?  I am using the splunk docker driver to ship the stdout of the docker container to humio, but am having a bunch of ansi color escape codes that I’m having to parse out.  It would be cleaner if I could just turn off the colors altogether.

 

Thanks in advance for any help you can provide!

 

Taylor

rac...@rundeck.com

unread,
Mar 28, 2022, 8:41:39 AMMar 28
to rundeck-discuss

Hi Taylor,

You can launch the docker-compose using the --no-color parameter (e.g: docker-compose up --no-color) but it seems that needs some fix to work properly.

Regards.

TAYLOR J HAMMERLING

unread,
Mar 28, 2022, 8:43:41 AMMar 28
to rundeck...@googlegroups.com

I appreciate the speedy reply!

 

Given that `--no-color` is buggy, I’ll just stick with parsing out the ansi color codes. 😊

 

Taylor

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/44005520-58fc-4686-9632-67f01909f647n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages