You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "IvanJobs (JIRA)" <ji...@apache.org> on 2016/08/19 07:08:21 UTC
[jira] [Created] (MESOS-6056) add NOOP Container Logger for mesos
IvanJobs created MESOS-6056:
-------------------------------
Summary: add NOOP Container Logger for mesos
Key: MESOS-6056
URL: https://issues.apache.org/jira/browse/MESOS-6056
Project: Mesos
Issue Type: Improvement
Components: containerization, slave
Affects Versions: 1.0.0
Environment: mesos 1.0.0, docker
Reporter: IvanJobs
Priority: Trivial
mesos has two Container Loggers in its source files.
One is build into mesos-agent: sandbox Container Logger, it just redirects stderr/stdout to sandbox, causing fill disk usage problem.
The other is LogrotateContainerLogger module lib, it's good, we can make sure stdout/stderr in sandbox be in a constant size.
But there is a common need: don't write stdout/stderr into sandbox, pity, we don't have any flags for turning it off.
This is a come around for this: developing a new module lib for ContainerLogger for doing nothing(redirect stdout/stderr to /dev/null)
yep, that's it. We need a NOOP ContainerLogger, BTW, FYI, we can also retrieve stderr/stdout from docker daemon either.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)