In fact, the same call to Log4J in OpenHR works fine (so i see the file and the line in the log) and, after a while, without any logical reason, this call will make a line in the log file with (?:?). It's really weird...
-----Original Message----- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 11:40 AM To: Log4J Users List Subject: Re: Log4J lost java context Was OpenHR compiled without the debug flag (-g). Looking at your example, it seems that certain logs from OpenHR cotains file and line information, while others don't. In that case, maybe the JIT compiler is to blame. More below. At 10:59 AM 6/30/2005, [EMAIL PROTECTED] wrote: >Hi, > > I have a really strange problem and hope you'll be able to help > me. I have a class named OpenHR (compiled with JDK1.3) using Log4J v1.2.8. > My problem is that everything's going right and, suddenly, Log4J > lost the context of the caller : > >2005-06-29 11:34:50,917 (OpenHR.java:871) DEBUG - getFromSAP--> Execute >the function in SAP >2005-06-29 11:34:50,980 (?:?) DEBUG - getFromSAP--> String from table >DATA: blablabla > > Problem : (OpenHR.java:871) ==> (?:?) > > Is it a known behaviour and, if yes, do you know why it occurs > suddenly ? Could you be more precise about what you mean by suddently? > If not, could it be linked to the jvm memory management (stack > management i guess) ? Yes, blame it on the JIT. BTW, what is your runtime environment? > > Is there any limitation of the string length of the message sent > to log4j ? No. > Any help is welcome. > > Regards, > Thomas de Bodt. > -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = = = = = = Fortis Bank disclaimer : http://www.fortisbank.be/legal/disclaimer.htm Fortis Bank privacy policy : http://www.fortisbank.be/legal/privacy_policy.htm = = = = = = = = = = = = = = = = = = = = = = = = = --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
