|
From: Erich E. <eei...@gm...> - 2009-12-10 12:42:08
|
Hi Peter, What version of Common.Logging are you using? What version of Log4Net? How does your configuration look like? tx for pointing me to the email mistake - jus t fixed -Erich From: Peter A. Kirk [mailto:pk...@al...] Sent: Thursday, December 10, 2009 10:13 AM To: net...@li... Subject: [Netcommon-developer] CommonLogging log4net Hi I am using common-logging and log4net, with a lognet conversion pattern like: <conversionPattern value="%d [%t] %-5p [%C.%M] - %m%n" /> The %C.%M should display the class.method name of the method doing the logging – and it does, except this is the class [Common.Logging.Factory.AbstractLogger.Debug], and not the class I am really interested in. Can I configure it such that it is the name of the class and method calling common-logging which is written to the log? (BTW, on the this project’s page on sourceforge, the email-address for this project is given as net...@li... but I am not sure if this is correct, so I have written to that address and net...@li...) Med venlig hilsen / Best regards Peter Kirk E-mail: mailto:pk...@al... <mailto:cj...@al...> |