in

NIMTUG

Northern Ireland Microsoft Technologies User Group

Logging Frameworks

Last post 03-29-2008 16:05 by jimd. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-19-2008 15:54

    • amogram
    • Top 50 Contributor
      Male
    • Joined on 02-14-2006
    • Belfast, N. Ireland
    • Posts 1
    • Points 5

    Logging Frameworks

    Hi folks,

    I've been working on a couple of projects lately and I want to add a much more robust logging system.  I've been playing around log4net made by Apache - more info at http://logging.apache.org/log4net/.  I'm wondering if anyone has used this or can recommend a similar logging framework?

    Thanks,

    Andrew
     

    • Post Points: 0
  • 03-20-2008 12:10 In reply to

    • pmcclean
    • Top 50 Contributor
    • Joined on 10-24-2006
    • Posts 1
    • Points 0

    Re: Logging Frameworks

    I am currently using log4net on a reasonably sized Windows Forms project. I had previously used (in my Java days) the precursor, log4j, so I didn't look beyond log4net when considering a logging system.

    I found it very powerful to be able to put all the debugging in place permanently and then enable/disable as required when debugging specific sections. Also if a problem is found on a customer machine that we cannot replicate, we can increase the logging level on their machine in an attempt to debug the problem. This can prove invaluable.

     

     

    • Post Points: 0
  • 03-22-2008 15:18 In reply to

    • marks
    • Top 25 Contributor
      Male
    • Joined on 12-19-2007
    • Belfast
    • Posts 3
    • Points 0

    Re: Logging Frameworks

    I've often found it sufficient to simply write to OutputDebugString and when needed, capture this using DebugView from the useful Sysinternals guys - now part of Microsoft.

    In certain cases, WinDbg provided me with enough info to get the problem sorted.

    However, our current project is now using Log4Net.

     

    • Post Points: 0
  • 03-29-2008 16:05 In reply to

    • jimd
    • Top 10 Contributor
      Male
    • Joined on 04-05-2006
    • USA
    • Posts 6
    • Points 0

    Re: Logging Frameworks

    Microsoft provides a Logging Application Block in its Enterprise Library... http://msdn2.microsoft.com/en-us/library/aa480464.aspx

    I use something similar (but homegrown before this application block) for an enterprisey web application to monitor dev, QA and production environments.

    • Post Points: 0
Page 1 of 1 (4 items)
NIMTUG 2004-2007
Powered by Community Server (Non-Commercial Edition), by Telligent Systems