You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hansi (Jira)" <ji...@apache.org> on 2022/02/06 13:36:00 UTC

[jira] [Created] (DAEMON-438) Procrun: stdout/stderr redirection does not work if log directory didn't exist

Hansi created DAEMON-438:
----------------------------

             Summary: Procrun: stdout/stderr redirection does not work if log directory didn't exist
                 Key: DAEMON-438
                 URL: https://issues.apache.org/jira/browse/DAEMON-438
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.2.4
            Reporter: Hansi


If you enable stdout/stderr redirection (auto) and the log directory (given by LogPath) does not exist then Procrun will create the missing directory and will create the files commons-daemon-xxxx-xx-xx.log, ...-stdout-xxxx-xx-xx.log, and ...-stderr-xxxx-xx-xx.log, but the two latter files won't be populated (filesizes stay at 0).

Instead of fixing this issue in Procrun itself, imho, it might be sufficient to state this limitation in the documentation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)