logging in util code

2004-02-05 Thread Nathan Coast
Hi I have debug statements in core utilities, the problem is that when I turn debug on for these components, the volume of debug is too great. Is there any way to turn on debug for a component based upon the calling system (package) as oposed to the classname of the util component? Thanks Nat

Re: AW: AW: NullPointerException from MDC in IBM WSAD 5.1/WebSphere 5.0.2

2004-02-05 Thread Joe Niski
Thanks again, Gyoergy - this is exactly the issue. Funny that i opened a trouble ticket w/IBM yesterday. Thanks so much! Joe --- [EMAIL PROTECTED] wrote: > That's weird. Are you sure, that the NPE is thrown > in that line of code and not within the get() method > itself ? The later would be expla

Re: TimeZone in logged message.

2004-02-05 Thread Narendra Babu Kirthi
Hi Ian, Thanks alot for the pointer you gave. It works.. Thanks & Regards Naren [EMAIL PROTECTED] wrote: Replacing the old DateFormat line with the following should work: log4j.appender.stdoutLog.layout.DateFormat=-MM-dd HH:mm:ss.SSS z The TTCCLayout can accept as its DateFormat any Str

Appender writing to bugreport

2004-02-05 Thread Thomas Saxtoft
We are looking for at bugreport tool like bugzilla. Open Source or BuyWare is not important at the moment. What I would like to know is if there exists an appender that writes to any of the existing bugreport tools. An even better option would be to have an appender like the one IntelliJ uses in ID

Keeping debug-logs in error case

2004-02-05 Thread Spranger, Steffen
Hallo, I log communication to an external system with e.g. logger.debug(...). In a catch-block I log errors by logger.error(...). What I want is, not to keep all the debug-messages in good case, but = keeping them in an error-case. I'm wondering if log4j can be configured (or our log statements

AW: AW: NullPointerException from MDC in IBM WSAD 5.1/WebSphere 5.0.2

2004-02-05 Thread gyoergy.magoss
That's weird. Are you sure, that the NPE is thrown in that line of code and not within the get() method itself ? The later would be explained by what I found on www.dejanews.com . I searched for InheritableThreadLocal (the parent class of ThreadLocalMap) and NullPointerException in dejanews