Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.4, 1.0.5, 1.0.6
    • Fix Version/s: None
    • Component/s: Procrun
    • Labels:
      None
    • Environment:

      os: winxp

      Description

      currently, procun doesn't support log rotation. Should add an option

        Activity

        Sebb made changes -
        Fix Version/s Nightly Builds [ 12311743 ]
        Hide
        viola.lu added a comment -

        But jsvc https://issues.apache.org/jira/browse/DAEMON-95, it also supports log rotation by catching signal user1, can we try this way on windows procun?

        Show
        viola.lu added a comment - But jsvc https://issues.apache.org/jira/browse/DAEMON-95 , it also supports log rotation by catching signal user1, can we try this way on windows procun?
        Mladen Turk made changes -
        Field Original Value New Value
        Fix Version/s Nightly Builds [ 12311743 ]
        Hide
        Mladen Turk added a comment -

        Think this will not be possible since we redirect the stdout/stderr before loading JVM.
        After it is loaded JVM uses those descriptors to write to the console.
        The user application if desired should call System.setOut and System.setErr
        and manage the log rotation on its own.

        Think I'll mark this as WONTFIX unless someone figures out how to do it
        from the procrun.

        Show
        Mladen Turk added a comment - Think this will not be possible since we redirect the stdout/stderr before loading JVM. After it is loaded JVM uses those descriptors to write to the console. The user application if desired should call System.setOut and System.setErr and manage the log rotation on its own. Think I'll mark this as WONTFIX unless someone figures out how to do it from the procrun.
        viola.lu created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            viola.lu
          • Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development