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

Alex Rudyy updated QPID-8081:
-----------------------------
    Description: 
If "roll on restart" is set, the FileLogger should rolled over the log file on 
every restart.
It does not do it when "roll daily" is "one".

We should verify that the name of log file rolled over on Broker restart should 
conform to "roll daily" policy file name pattern: {code}fileName + 
".%d{yyyy-MM-dd}.%i"{code}

We have reports that when log file is rolled over on restart (for whatever 
reason), the file name does not conform to the expected pattern. Instead, the 
pattern for {{SimpleRollingPolicy}} is used :{code}fileName + ".%i"{code}

  was:
If "roll on restart" is set, the FileLogger should rolled over the log file on 
every restart.
It does not do it when "roll daily" is "one".

We should verify that the name of log file rolled over on Broker restart should 
conform to "roll daily" policy file name pattern: {code}fileName + 
".%d{yyyy-MM-dd}.%i"{code}.

We have reports that when log file is rolled over on restart (for whatever 
reason), the file name does not conform to the expected pattern. Instead, the 
pattern for {{SimpleRollingPolicy}} is used :{code}fileName + ".%i"{code}.


> [Broker] FileLogger with "roll on restart" set "true" does not roll log file 
> on broker restart when "roll daily" is "true"
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-8081
>                 URL: https://issues.apache.org/jira/browse/QPID-8081
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-6.0.8, qpid-java-broker-7.0.0, qpid-java-6.1.5
>            Reporter: Alex Rudyy
>            Priority: Major
>
> If "roll on restart" is set, the FileLogger should rolled over the log file 
> on every restart.
> It does not do it when "roll daily" is "one".
> We should verify that the name of log file rolled over on Broker restart 
> should conform to "roll daily" policy file name pattern: {code}fileName + 
> ".%d{yyyy-MM-dd}.%i"{code}
> We have reports that when log file is rolled over on restart (for whatever 
> reason), the file name does not conform to the expected pattern. Instead, the 
> pattern for {{SimpleRollingPolicy}} is used :{code}fileName + ".%i"{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to