[
https://issues.apache.org/jira/browse/LOGCXX-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476692#comment-17476692
]
Robert Middleton commented on LOGCXX-525:
-----------------------------------------
Upon further investigation, this appears to be a feature. I'm not quite sure
why this is the intended behavior, but there is a test for it.
Solution: make it configurable to let the user select if they want to create
the intermediate directories or not.
> Compressing log files does not create directories
> -------------------------------------------------
>
> Key: LOGCXX-525
> URL: https://issues.apache.org/jira/browse/LOGCXX-525
> Project: Log4cxx
> Issue Type: Bug
> Reporter: Robert Middleton
> Assignee: Robert Middleton
> Priority: Major
> Fix For: 0.13.0
>
>
> When configuring the FixedWindowRollingPolicy, setting the FileNamePattern to
> something that doesn't exist(e.g. "output/foo-%i.gz") doesn't create this
> directory if it does not exist. It also does not output any error, so it
> silently ignores it.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)