Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Csilla Fabian
I have several appenders set up, I'm getting one file for one appender, but some appenders might be unused by the system, that's why there are empty log files. But I think you answered my question, it's not possible to set up the appender in the XML config file to create the log file only in

Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Ralph Goers
I was thinking more along the lines of an attribute named “deferCreate”. Ralph > On Sep 17, 2015, at 7:49 AM, Gary Gregory wrote: > > You could provide a patch that either: > > - Deletes empty files on Log4j shutdown. Would this be an option or always > happen? > -

Re: markers

2015-09-17 Thread Mikael Ståldal
Android have these levels ( http://developer.android.com/reference/android/util/Log.html): ERROR WARN INFO DEBUG VERBOSE Adding VERBOSE above DEBUG would be inconsistent with Android and thus confusing. On Thu, Sep 17, 2015 at 12:24 AM, Gary Gregory wrote: > At first I

Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Gary Gregory
You could provide a patch that either: - Deletes empty files on Log4j shutdown. Would this be an option or always happen? - Creates files on-demand. Would this be an option or always happen? Gary On Wed, Sep 16, 2015 at 11:49 PM, Csilla Fabian wrote: > > I have several