GitHub user IvanJobs opened a pull request:
https://github.com/apache/mesos/pull/159
MESOS-6056 add NOOP Container Logger for mesos.
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,.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/IvanJobs/mesos master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/159.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #159
----
commit 3afdacffee17b87af6677b9dc7687022b76dea15
Author: IvanJobs <[email protected]>
Date: 2016-08-19T10:21:23Z
MESOS-6056 add NOOP Container Logger for mesos.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---