logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gulcu <c...@qos.ch>
Subject Re: log4j does not log when the application crashes for some reason
Date Mon, 29 Jun 2009 17:49:29 GMT
Hello Krishna,

If your application runs out of memory at an arbitrary point in code,
log4j will not be invoked, and cannot log. However, you also seem to
imply that log4j is somehow responsible for the runtime exception. In
that case, could you please be more specific?

Suresh Krishna wrote:
> Hi,
> 
> We are using the the log4j for our applications. Recently we have come 
> to a blocking point that, the log4j does not log the exceptions or what 
> happened to the log file. Our application may crash with the *out of 
> memory error* or some *runtime exception*. In both the cases the log4j 
> does not log the exception.... is there any way to deal with this ?
> 
> Appreciate any response on this.
> 
> Thanks,
> Krishna
> 

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch

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