log4net
log4net log file is empty in production, not in development
For a Windows service written in C# 4, I have log4net configured and working fine in development. But not in p开发者_C百科roduction.[详细]
2023-04-04 09:07 分类:问答Dynamically change the log4net connection string
I\'m new to log4net and was given a task to Switch the way log4net gets the connectionstring. The connectionstring may be different for different groups of people who visits the site. i.e.[详细]
2023-04-03 08:14 分类:问答NServiceBus - messages going to error queue but no exception logged?
I\'ve got some messages that are intermittently failing in production and ending up in the error queue. Each time I run ReturnToSourceQueue, a proportion succeed, and a proportion fail again (so if I[详细]
2023-04-02 23:07 分类:问答Log4net writing to C: instead of APPDATA on Windows 2003
I have a .NET web application that should log stuff to the APPDATA environment variable with log4net. On my XP dev computer it works just fine, but when deployed to a Windows 2003 server the logs are[详细]
2023-04-02 21:04 分类:问答log4net - creating only one logfile
I am using log4net and when I\'m running my application, several logfiles are created. It appears the log4net is creating a new logfile whenever the time-format changes, meaning I end up with a new l[详细]
2023-04-02 06:20 分类:问答ASP.NET MVC + WIndsor + Log4Net how to intercept models?
I have follow an excellent tutorial about how to use Windsor and Lo开发者_如何学JAVAg4Net as AOP in ASP.NET MVC[详细]
2023-04-01 21:52 分类:问答Using Nuget and log4net in one dll that is used across a number of solutions
I have a dll called General which uses log4net.This dll is used in many other solutions. I would like to use Nuget.But if I add a nuget package for gen开发者_C百科eral to use, that package appears on[详细]
2023-03-31 22:53 分类:问答Publishing a C# application on .NET with log4net?
I\'ve written my first C#.NET WinForms application and am ready to publish the first build for users to install.I\'m using log4net as my logging utility, and have it set as:[详细]
2023-03-31 18:25 分类:问答what is the log4net pattern to get the equivalent of Trace.indent and trace.unindent
I need indent and 开发者_如何学Gounindent handling like the native trace class. Any ideas how this can done with log4net file and console appender ? thank youI would recommend wraping the log4net cons[详细]
2023-03-31 16:13 分类:问答Should I buffer in error logging?
I am using log4net and a customized AdoNetAppender to log error messages into a database. Is it really a good idea to set the buffer size to 10, 20 or maybe even 100 for logging?[详细]
2023-03-31 06:21 分类:问答