logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bender Heri" <HBen...@Ergonomics.ch>
Subject RE: Late file creation option
Date Tue, 24 May 2005 15:07:34 GMT
Hi hein

The short answer is no.

the long answer see thread with subject "File-Appender: Empty Ghost files" between 7. and
11. April of this year.

Heri

> -----Original Message-----
> From: Hein Meling [mailto:meling@acm.org]
> Sent: Tuesday, May 24, 2005 4:25 PM
> To: Log4J Users List
> Subject: Late file creation option
> 
> 
> Hi list,
> 
> Is it possible to configure the FileAppender to not create a log file
> until it actually has something to be logged to the specified file?
> 
> I have three different FileAppenders in my configuration, all 
> configured
> a little differently.  However, some of my applications only 
> log to one
> of these files, but still creates an empty file for the appenders that
> are not being used.
> 
> Note that I don't want to maintain multiple log4j configuration files,
> one for each application since they would contained a lot of 
> redundancy.
> 
> I'm using log4j-1.3alpha3.
> 
> Thanks,
> 
> Hein
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message