Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MESOS-6056 add NOOP Container Logger for mesos. #159

Closed
wants to merge 1 commit into from
Closed

MESOS-6056 add NOOP Container Logger for mesos. #159

wants to merge 1 commit into from

Conversation

IvanJobs
Copy link

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,.

@IvanJobs
Copy link
Author

Well, actually after communication with Joseph Wu, I think this NOOP Container Logger is not so common and should not be accept by mesos community. So just forget about it. But if you have special use case and want to use this, I'm happy about that

@IvanJobs IvanJobs closed this Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant