You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Horry, Adam J" <ad...@lmco.com> on 2004/10/01 18:48:40 UTC

Unused log files

When are the files defined in the log4j.properties files
created? Is there a way to only have the files created
when a message is written?

I am seeing several zero length files which is why ask.

Thanks,
Adam J. Horry 

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


Re: Unused log files

Posted by Francesco RUSSO <f....@cineca.it>.
They are created once the configuration file gets read, so at the bootstrap. 
That's my experience, and I guess I should be right.  
Actually I don't think it is possible to modify this behaviour. 
 
Francesco. 
 
Scrive "Horry, Adam J" <ad...@lmco.com>: 
 
> When are the files defined in the log4j.properties files 
> created? Is there a way to only have the files created 
> when a message is written? 
>  
> I am seeing several zero length files which is why ask. 
>  
> Thanks, 
> Adam J. Horry  
>  
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org 
> For additional commands, e-mail: log4j-user-help@logging.apache.org 
>  
>  
>  
 
 
 


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