[Asterisk-java-devel] Suggested changes to JavaLoggingLog
Brought to you by:
srt
From: Johan J. <joh...@ko...> - 2007-03-14 14:13:04
|
Hi, I noticed a drawback with wrapping the java logging api in the asterisk-java Log framework. The class and method names printed out by the java Logger is always JavaLoggingLog and the severity method name. Not very useful... I have a suggested patch to JavaLoggingLog attached to this mail, which uses a StackTraceElement to determine the calling method (in the same manner as the java logging api) and sends that to the Logger class. Regards, Johan Jacobsson |