[logback-dev] [JIRA] Resolved: (LBCORE-214) Error in FileNamePatter::toRegex
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Mon Jul 18 23:54:51 CEST 2011
[ http://jira.qos.ch/browse/LBCORE-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ceki Gulcu resolved LBCORE-214.
-------------------------------
Fix Version/s: 0.9.30
Resolution: Fixed
Merged your changes [1] a few moments ago.
[1] https://github.com/dlibby00/logback/commit/f91238966fb8f8dd1e38ce376d9f3246639653cf
> Error in FileNamePatter::toRegex
> --------------------------------
>
> Key: LBCORE-214
> URL: http://jira.qos.ch/browse/LBCORE-214
> Project: logback-core
> Issue Type: Bug
> Affects Versions: 0.9.24
> Environment: Linux
> Reporter: Derek Libby
> Assignee: Ceki Gulcu
> Fix For: 0.9.30
>
>
> Using a file name pattern of the form:
> roll.log.%d{yyyy-MM-dd'T'HH:mm:ss}.gz
> results in a regular expression of:
> roll.log.\\d{4}-\\d{2}-\\d{2}'T'\\d{2}:\\d{2}:\\d{2}.gz
> which has the unfortunate property that it does not match the actual file names which get generated:
> roll.log.2011-07-11T16:42:28.gz
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list