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 Michelle Xue <mx...@fortifysoftware.com> on 2006/02/02 19:05:22 UTC

RollingFileAppender did not create the rolling file and where does error logs to?

In my program, I use RollingFileAppender to log(in window), and it
didn't create the rolling files when rollOver() is called, and I suspect
it's some lock problems in window.  Anyone knows how to solve that?
 
Also, in the source code, RollingFileAppender.rollOver() catches
IOException and log the error using LogLog, where does LogLog output to?
I need a way to see error message.
 
Thanks.
 
Michelle

Re: RollingFileAppender did not create the rolling file and where does error logs to?

Posted by Jacob Kjome <ho...@visi.com>.
Quoting Michelle Xue <mx...@fortifysoftware.com>:

> In my program, I use RollingFileAppender to log(in window), and it
> didn't create the rolling files when rollOver() is called, and I suspect
> it's some lock problems in window.  Anyone knows how to solve that?
>
> Also, in the source code, RollingFileAppender.rollOver() catches
> IOException and log the error using LogLog, where does LogLog output to?
> I need a way to see error message.
>

Not sure I can offer advice on the problem, but I believe LogLog takes effect
when you use log4j.debug=true (I think that's the propery syntax?) or
<log4j:configuration debug="true" threshold="debug"> in the XML syntax.

Jake

> Thanks.
>
> Michelle
>




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