Saturday, February 04, 2012
 
 Viewing Category   

Entries for the 'Log4Net In General' Category

15

Jim Christopher has written several excellent tutorials about log4net, and he promise to write more!

http://www.beefycode.com/?tag=/log4net

26
Finally Log4Net is no longer in beta, version 1.2.10 is released.

A lot of people have been waiting for a “non-beta” version of log4net. Even though, version 1.2.9 have been around for quiet a while, and for most users, have proven to be more stable than a lot of commercial production releases.

The complete release notes can be found on:

http://logging.apache.org/log4net/release/release-notes.html
24
I needed to be able to change the file log4net was logging on programmatically, on the same time I wanted to use the other configuration options available in the config file. After several different approaches I ended up with writing a method like the one listed below: static bool ChangeLogFileName(string AppenderName, string NewFilename) { log4net.Repository.ILoggerRepository RootRep; RootRep = log4net.LogManager.GetRepository(); foreach (log4net.Appender.IAppender iApp in RootRep...

[Read the rest of this article...]

29
When it comes to Log4Net, it is one definitive source of information, and that is the log4net mailing list (log4net-user@logging.apache.org). I have made a copy of the Log4Net Mail available on http://www.l4ndash.com, and can be viewed as a forum on: http://www.l4ndash.com/Log4NetMailArchive/tabid/70/view/topics/forumid/1/Default.aspx. The mail archive is also available trough RSS: http://www.l4ndash.com/desktopmodules/ntforums/rss.aspx?portalid=0&forumid=1&tabid=70&moduleid=4...

[Read the rest of this article...]

13
One of the more exotic and advanced features of Log4net is lossy logging.   Actually the idea behind it is simply great, it supports the typical production scenario of: As long as everything is working, I don’t want my log filled up with debug (or info) messages, but when an error occurs, I would like to have all the messages that leads to this error situation.   And that’s what lossy logging is all about!   Implementing lossy logging is done through configuration, and as al...

[Read the rest of this article...]

15
In this article I will walk you trough the steps necessary to install, configure and getting started with Log4net, and writing log rows to Microsoft Sql Server using the AdoNetAppender.

[Read the rest of this article...]

08

When debugging web applications, with several clients making request at the (almost) same time, we need some way of distinguish and identify the different requests and sessions.

[Read the rest of this article...]

28
One of the advantages of storing Log4Net log in a database using the AdoNetAppender, is the possibility to store log events from Stored Procedures in the same log.

[Read the rest of this article...]

27
Log4Net gives us a collection of log appenders making it possible to choose where we writs logs. One of the possible appenders is the AdoNetAppender which write log-rows to a database.

[Read the rest of this article...]

Copyright 2005-2008 by FaktNet AS Terms Of Use Privacy Statement