Menu

#10 wrong loggername with log4net 1.2.10 from within VS debugger

v2.0
open-fixed
nobody
None
5
2009-12-14
2009-12-11
Anonymous
No

When launched from commandline, the log is ok. Using F5 in VS the loggername is wrong:

2009-12-11 21:52:46,769 [1] INFO [MainApplication.Program.Main] - Start Common Logging example
2009-12-11 21:52:46,831 [1] DEBUG [MainApplication.InsideClass.ReallyDeepMethod] - inside another class...
2009-12-11 21:52:46,831 [1] INFO [MainApplication.Program.Main] - End Common Logging example
2009-12-11 21:53:01,698 [1] INFO [Common.Logging.Factory.AbstractLogger.Info] - Start Common Logging example
2009-12-11 21:53:01,745 [1] DEBUG [Common.Logging.Factory.AbstractLogger.Debug] - inside another class...
2009-12-11 21:53:01,745 [1] INFO [Common.Logging.Factory.AbstractLogger.Info] - End Common Logging example

Discussion

  • Nobody/Anonymous

    reproduce by hit f5

     
  • Erich Eichinger

    Erich Eichinger - 2009-12-14
    • status: open --> open-fixed
     
  • Erich Eichinger

    Erich Eichinger - 2009-12-14
    • milestone: --> v2.0
     
  • tobsen

    tobsen - 2010-09-24

    In the 2.0 RTM release, the loggername is not correct when using the %c.%m format conversion pattern of a log4net. The fix for this bug also fixes that (not only in the VS debugger).
    Would you please release a 2.0.1 version with this fix included?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.