You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Krzysztof Taborski (JIRA)" <ji...@apache.org> on 2016/08/02 07:58:20 UTC

[jira] [Created] (LOG4J2-1490) Log4j2 is creating empty log files.

Krzysztof Taborski created LOG4J2-1490:
------------------------------------------

             Summary: 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


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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org