You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "David Robinson (JIRA)" <ji...@apache.org> on 2014/12/16 01:19:15 UTC
[jira] [Created] (MESOS-2193) enable external log rotation
David Robinson created MESOS-2193:
-------------------------------------
Summary: enable external log rotation
Key: MESOS-2193
URL: https://issues.apache.org/jira/browse/MESOS-2193
Project: Mesos
Issue Type: Improvement
Components: webui
Reporter: David Robinson
Priority: Minor
Mesos includes various 3rd party libraries which use logging libraries other than glog. This means that glog-produced logs don't show a complete story -- they lack messages from 3rd party libraries. The zookeeper library doesn't use glog, it logs to stdout/stderr and in a different format to the rest of Mesos, yet its logs are critical for troubleshooting production issues.
A complete story can be obtained by configuring Mesos to log to stdout/stderr -- this captures and aggregates output from Mesos and its various libraries.
Mesos has support for viewing master/slave's logs from the web ui but the feature is only available when the --log_dir option is used. For the reasons above it's not always possible(/recommended) to use the option. It's also not possible to use the --log_dir option (eg, to be able to rotate logs) but disable log viewing in the web ui (eg, for security reasons).
Either the 3rd party libraries should be modified to use glog so there's a single logging framework (preferred), or Mesos should be modified so its web ui can serve an externally managed log.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)