Re: LoggingEvent.locationInfo

2003-11-04 Thread Ceki Gülcü
At 09:16 AM 11/4/2003 +0200, you wrote: Hi, Looking at the source of the LoggingEvent class I see that the getLocationInformation() method creates a new LocationInfo object using a new Throwable, and not the throwable that might be referenced by the LoggingEvent's member throwableInfo. Considerin

RE: LoggingEvent.locationInfo

2003-11-04 Thread Yu Xiang Xi (Maveo)
Hi, Andreas New a Throwable() will create the full stack trace information in the throwable instance. The log4j parse the stack trace and get the LocationInformation. But it's of no use to the class in the same package with LoocationInfo(or LogEvent) It's heavy burden to create lots of exceptions