Top "Log4net" questions

The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets.

How do I use a GlobalContext property in a log4net appender name?

I'm trying to customise a log4net file path to use a property I have set in the log4net.…

c# log4net
unable to get log4net working with .net windows service

I have a windows service with an app.config and a log4net.config. app.config: <configSections> <…

c# .net logging log4net log4net-configuration
log4net: Configure to ignore messages from a specific class

Is there a way to have the log4net configuration ignore a specific class? For example, we generally create a …

c# logging log4net
How to log SQL calls with NHibernate to the console of Visual Studio?

I have the following configuration file for NHibernate: <?xml version="1.0" encoding="utf-8" ?> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> &…

visual-studio nhibernate logging log4net
Failed obtaining configuration for Common.Logging from configuration section 'common/logging'

I'm trying to configure a console application with the following logging assemblies: Common.Logging.dll (2.1.0.0) Common.Logging.Log4Net1211.dll (2.1.0.0) …

c# log4net common.logging
Log4net configuration from assembly attribute does not load configuration file

I have the following file Log4net.config in my bin directory: <?xml version="1.0" encoding="utf-8" ?> <log4…

log4net log4net-configuration
What is the difference between log4net and ELMAH?

Some people are using ELMAH instead of log4net. What makes it better? I found out about ELMAH in an …

c# .net logging log4net elmah
Is there a user-friendly Log4Net log files viewer?

Is there any third party tool that can recognize Log4Net log file structure and show it in a user …

.net log4net
Log4Net: Programmatically specify multiple loggers (with multiple file appenders)

How to (programmatically, without xml config) configure multiple loggers with Log4Net? I need them to write to different files.

c# log4net
How to fix "No way to resolve conflict between" error?

Recently added log4net.dll to our data object. Our data object builds perfectly but when you try to build …

.net msbuild log4net