[ 
https://issues.apache.org/jira/browse/QPID-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Ritchie updated QPID-2155:
---------------------------------

    Fix Version/s: 0.6

Stated bugs have been addressed.

Additionally manual testing of all combinations of:
CountDirection (-ve,0,+ve)
MaxSizeRollBackups(-1,0,n)
CompressBackupFiles(T,F)
backupFilesToPath(same as log file path and different)
StaticLogFileName(T,F)
DatePattern(including Minute/Seconds and just Year patterns)


The RollingStyle(1,2,3) param was tested at default (3 and 1) Testing has been 
completed manually and further thought needs to be invested in how we can add 
automated testing for this appender. However at least for 0.6 the appender has 
the known issues addressed if not tested by CI.

A large user documentation file is probably required as the behaviour of this 
plugin was not obvious even to me.. i.e point 2 in the description .. Log files 
being archived before 10MB setting. This is because default is COMPOSITE 
archiving i.e by DatePattern AND file size, so I was getting a new file every 
minute. The default settings in the log4j config have been changed to be more 
in line with my expectations and additional docs added so it should be easier 
to follow until we have a full user doc.

We can close this issue for 0.6 and document and add auto testing for 0.7

> QpidRollingFileAppender has no tests and does not appear to work.
> -----------------------------------------------------------------
>
>                 Key: QPID-2155
>                 URL: https://issues.apache.org/jira/browse/QPID-2155
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.5
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> When investigating QPID-2085 the following issues were found:
> The QpidRollingFileAppender does not appear to behave as expected from the 
> configuration.
> Have noticed the following:
>  - qpid.log being archived shortly after creation, resulting in no log file 
> for the broker. (When using StaticName)
>  - Log files being archived before 10MB setting, using default configuration.
>  - Log files index not being used as described in the comments. file .0 is 
> always the current head of the log rather than 'n' as described.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to