accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2287) Logs are overwritten upon restart
Date Mon, 22 Jun 2015 18:09:02 GMT

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

Christopher Tubbs commented on ACCUMULO-2287:
---------------------------------------------

I'm a fan of the decoupling ssh from the launch scripts, but I really don't think we should
be implementing our own log rotation for service logging stuff. I'd very strongly prefer we
use the POSIX logger and let the syslogd, journald, or equivalent deal with log management
for anything outside of the log4j logs (which should be very minimal). For everything else
which is logged by our log4j/slf4j logging, that should all be managed by user configuration.
We really shouldn't have much to do for logging in our scripts.

> Logs are overwritten upon restart
> ---------------------------------
>
>                 Key: ACCUMULO-2287
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2287
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: master, tserver
>    Affects Versions: 1.4.4, 1.5.0, 1.6.0, 1.7.0
>            Reporter: Mike Drob
>            Assignee: Josh Elser
>             Fix For: 1.8.0
>
>
> When a server is restarted, then it overwrites the contents of the .out and .err files.
This makes it more difficult to debug failures if you have something like puppet or supervisord
ensuring that your processes are always running. We should figure out how to roll the files
instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message