logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Krishna <suresh.madhuva...@oracle.com>
Subject Re: log4j does not log when the application crashes for some reason
Date Tue, 30 Jun 2009 15:50:07 GMT
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.madhuvarsu@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.
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message