You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Kevin Sweeney (JIRA)" <ji...@apache.org> on 2015/05/11 20:37:00 UTC

[jira] [Created] (AURORA-1317) Allow an external log rotation process to truncate stdout and stderr

Kevin Sweeney created AURORA-1317:
-------------------------------------

             Summary: Allow an external log rotation process to truncate stdout and stderr
                 Key: AURORA-1317
                 URL: https://issues.apache.org/jira/browse/AURORA-1317
             Project: Aurora
          Issue Type: Story
            Reporter: Kevin Sweeney
            Priority: Minor


Right now the executor opens stdout and stderr in "w" mode instead of "a" mode. This means it retains a file pointer with a position in it that will create a sparse file if something writes to it after an external process truncates the file. Using "a" mode instead would allow an external process (such as a log rotation program) to rotate this log.



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