Re: [Springnet-developer] Common.Logging usage in Spring.NET
Brought to you by:
aseovic,
markpollack
|
From: Mark P. <mpo...@in...> - 2007-09-11 18:12:06
|
Hi, I saw your post on the NLog list as well where the solution was posted. It seems we should create a log call using LogEvent. I'll add that as an issue to fix. If you are keen to contribute a patch for that, please let me know. Sorry for the delay in responding. Cheers, Mark Btw. This approach is done using the log4net adapter code in common.logging. -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Adrian Rodriguez Sent: Friday, September 07, 2007 2:49 PM To: spr...@li... Subject: [Springnet-developer] Common.Logging usage in Spring.NET I posted a question to the netcommon developer list about a logging question I had. I noticed that Spring.NET uses Common.Logging so I figured I would ask you guys the same question. Here is the question I asked to netcommon: We started using common logging with nlog. Unfortunately, the nlog ${callsite} always renders the method name in Common.Logging. Has anyone here been through this before? I want the ${callsite} to render the method I called Common.Logging from. If I don't have this, I don't know where the message came from. If anyone could provide some help in this area, I'd be very grateful. Thanks. <adrian /> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Springnet-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springnet-developer |