You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Andreas Wederbrand <an...@wederbrand.se> on 2025/04/03 10:19:57 UTC

Controlling the output of the docker image

Hi!

First of all, I love that there is a packaged docker image of ATS now.
There wasn't any when we first started running ATS some 7 years ago so we
did our own. Painfully I might add.

The way we run our ATS-instances as docker containers requires output in a
custom format.
For ATS 9 and our own docker image we defined a logging format for us,
wrote using that format to an ascii_pipe and created that file as a soft
link to the pid

ln -sF /proc/1/fd/1

I don't get this to work with the prebuilt image yet.


Is there a recommended way of getting output to stdout using a defined or
custom format, like squid instead of what I assume is traffic.out?

Typically the output from the docker container should be logs on traffic
(in our case) and not the ATS instance itself.

Thanks.