Sure, i think thats the final goal. For us its like a dead lock.
We want to know what went wrong with the application and we have all the logging possible to know in the code. But at the time of crash, we dont get any log4j logging. So, we dont yet know what causes this crash and we want to see if log4j can aid us.

Thanks,
Krishna

Michael Erskine wrote:
-----Original Message-----
From: Suresh Krishna [mailto:suresh.madhuva...@oracle.com]
Subject: log4j does not log when the application crashes for some reason
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

Forgive me for being glib but the answer is to fix your code :)

Regards,
Michael Erskine.

Reply via email to