bugzilla | 14 Jun 2012 21:30
Picon
Favicon

[Bug 53417] New: Extras TimeBasedRollingPolicy does not compress log files

https://issues.apache.org/bugzilla/show_bug.cgi?id=53417

          Priority: P2
            Bug ID: 53417
                CC: log4j-dev <at> logging.apache.org
          Assignee: log4j-dev <at> logging.apache.org
           Summary: Extras TimeBasedRollingPolicy does not compress log
                    files
          Severity: normal
    Classification: Unclassified
          Reporter: krisztian.kocsis <at> optimaster.eu
          Hardware: PC
            Status: NEW
           Version: 1.2
         Component: Companions
           Product: Log4j

The TimeBasedRollingPolicy does not compress log files with the following file
name pattern: "C:\Test\Logs\%d.log.zip"

Example:

On 2012-06-12 this file is created: C:\Test\Logs\2012-06-12.log
On 2012-06-14 this file is created: C:\Test\Logs\2012-06-14.log

Unfortunately the 2012-06-12.log didn't get compressed.
Note that the application didn't run at midnight.

Here is how the I initialize the logger:

(Continue reading)

bugzilla | 16 May 2013 11:23
Picon
Favicon

[Bug 53417] Extras TimeBasedRollingPolicy does not compress log files

https://issues.apache.org/bugzilla/show_bug.cgi?id=53417

grobmeier <grobmeier <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from grobmeier <grobmeier <at> gmail.com> ---
This issue is tied due to the interrupt problem of the GZ compressor as
decribed in 51152

*** This bug has been marked as a duplicate of bug 51152 ***

--

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Gmane