Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

mesos logrotation issues #764

Closed
ryane opened this issue Oct 27, 2015 · 2 comments
Closed

mesos logrotation issues #764

ryane opened this issue Oct 27, 2015 · 2 comments

Comments

@ryane
Copy link
Contributor

ryane commented Oct 27, 2015

Post-rotation, new logs are being written to the archive directory /var/log/mesos/archive. We need to review our configuration - there does appear to be some issues with using logrotate and mesos: https://issues.apache.org/jira/browse/MESOS-1375

@langston-barrett
Copy link
Contributor

What is the problem with writing to that directory? How could we fix it?

@ryane
Copy link
Contributor Author

ryane commented Jan 7, 2016

mesos expects them to be in /var/log/mesos. so when this happens, all of the logs are blank in the UI.

@ryane ryane added this to the 1.0.4 milestone Mar 7, 2016
@ryane ryane mentioned this issue Mar 14, 2016
3 tasks
@ryane ryane modified the milestones: 1.0.4, 1.1 Mar 17, 2016
ryane added a commit that referenced this issue Mar 18, 2016
- don't use MESOS_LOG_DIR
- stdout/stderr is logged to journal
- rsyslog sends mesos-master and mesos-agent logs to files
- updated logrotate config
- updated logstash rules

Fixes #764
@ryane ryane mentioned this issue Mar 22, 2016
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants