Log4cxx
  1. Log4cxx
  2. LOGCXX-200

Implement compression for RollingFileAppender

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      gzip and zip compression of log files after rollover was implemented in the log4j 1.3 RFA. When the code was ported over to log4cxx, the code related to compression was #if'd out. This patch implements gzip and zip compression by invoking a gzip or zip executable after the log file is renamed. Unlike the log4j implementation, the compression is currently done synchronously.

      Several of the #if's in LOGCXX-103 relate to this stubbed capability.

        Activity

        Hide
        Curt Arnold added a comment -

        No, it should be possible to make the compression asynchronous. If you'd like to take a shot and submit it as a patch, it would be reviewed. It was just a matter of development priorities.

        Show
        Curt Arnold added a comment - No, it should be possible to make the compression asynchronous. If you'd like to take a shot and submit it as a patch, it would be reviewed. It was just a matter of development priorities.
        Hide
        Javier Sanz added a comment - - edited

        Hi.
        There is no way to make the compression operation asynchronous, right?.
        Thanks for your time.

        Show
        Javier Sanz added a comment - - edited Hi. There is no way to make the compression operation asynchronous, right?. Thanks for your time.
        Curt Arnold made changes -
        Field Original Value New Value
        Fix Version/s 0.10.0 [ 10782 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Curt Arnold added a comment -

        Committed rev 589900.

        Show
        Curt Arnold added a comment - Committed rev 589900.
        Curt Arnold created issue -

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Curt Arnold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development