You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Timothy St. Clair (JIRA)" <ji...@apache.org> on 2014/05/16 16:25:16 UTC

[jira] [Commented] (MESOS-1375) Log rotation capable

    [ https://issues.apache.org/jira/browse/MESOS-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999827#comment-13999827 ] 

Timothy St. Clair commented on MESOS-1375:
------------------------------------------

Worth investigating the standard glog mechanics: 

export GLOG_max_log_size=100
export GLOG_stop_logging_if_full_disk=1

Or possibly mocking to support syslog redirection, it may be possible if #undef and provide macro re-directors.   

> Log rotation capable
> --------------------
>
>                 Key: MESOS-1375
>                 URL: https://issues.apache.org/jira/browse/MESOS-1375
>             Project: Mesos
>          Issue Type: Improvement
>          Components: master, slave
>    Affects Versions: 0.18.0
>            Reporter: Damien Hardy
>              Labels: ops
>
> Please provide a way to let ops manage logs.
> A log4j like configuration would be hard but make rotation capable without restarting the service at least. 
> Based on external logrotate tool would be great :
>  * write to a constant log file name
>  * check for file change (recreated by logrotate) before write



--
This message was sent by Atlassian JIRA
(v6.2#6252)