![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1.1 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
18/Feb/14 3:09 AM
|
|
Description:
|
A rolling file appender, or any of its children, should allow parentheses within the file name. The toRegex and toRegexForFixedDate methods of the FileNamePattern, used for the purposes of removing old files, should escape parentheses if they come from a LiteralConverter (see lines 169 and 188 within FileNamePattern.java). If this is not done then the archive remover is unable to find files to remove.
I know the easy solution would be to not use parentheses in the file names; however, it is a relatively easy fix to just tack on .replace("(","\\(").replace(")"," )")
|
|
Environment:
|
All
|
|
Project:
|
logback
|
|
Priority:
|
Minor
|
|
Reporter:
|
Kenneth Gendron
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev