[
https://issues.apache.org/jira/browse/LOG4J2-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved LOG4J2-1490.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.7
Resolved by [LOG4J2-1501].
Please verify and close.
> Log4j2 is creating empty log files.
> -----------------------------------
>
> Key: LOG4J2-1490
> URL: https://issues.apache.org/jira/browse/LOG4J2-1490
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.6.2
> Reporter: Krzysztof Taborski
> Priority: Minor
> Fix For: 2.7
>
>
> I've started migration from logback and found out one quite annoying issue:
> since I often change logDirectory for FileAppenders I'm getting a lot of
> empty log files.
> As far as I know log4j2 is creating file (according to FileAppender) even if
> there is no output. Maybe such feature should be parametrized?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]