Re: Prepending log lines with custom tag

2016-09-21 Thread Robin Roestenburg
> If you read your logs from a fifo, then it's easy: use the > integrated pipe mechanism in s6-svscan. Your "logging service", > say foo-log, would read from the fifo and prepend the lines > with a tag, then pipe its data to the foo-log/log service > (a "logger for your logging service") which

Prepending log lines with custom tag

2016-09-21 Thread Robin Roestenburg
I am running s6 inside my Docker containers using the s6-overlay project. The logs of the services inside my containers are processed by s6-log. I have configured the logging script to write to both stdout and a directory. By routing the logs to stdout they are processed by the logging driver