You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2015/01/26 23:26:34 UTC

[jira] [Updated] (MESOS-2193) serve an externally managed log via the web ui

     [ https://issues.apache.org/jira/browse/MESOS-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominic Hamon updated MESOS-2193:
---------------------------------
    Sprint: Twitter Mesos Q1 Sprint 1

> serve an externally managed log via the web ui
> ----------------------------------------------
>
>                 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)