Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-438

prunsrv: stdout/stderr redirection does not work if log directory didn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.2.4
    • None
    • Procrun
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hansili Hansi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: