Re: Level.All

2016-11-24 Thread Piers Williams
All is not something you would log at, it's something to use as a threshold for a logger that should log everything. Because it's lower than all your message logging levels, they all get logged. On 21 Oct 2016 11:25 am, "Nicholas Duane" wrote: > Is Level.All correct? I looked at it in reflector

RE: unintended usage of the same configuration file

2015-10-12 Thread Piers Williams
Nicholas, The AdoNetAppender is *already* a buffering appender, with a default batch size of (I think) 100 for performance reasons as you suggest (both for the sake of your app and the poor database server). Buffering does mean however that if your app tanks you probably lose the log message that

Re: Why is log4net not more similar to log4j(2)?

2015-10-06 Thread Piers Williams
Could someone please explain to some of the lurkers on these lists (like myself) what the differences we are talking about actually are? In the .net world the accusations against log4net have largely been around the length of time to support new framework features properly (clr 2 lightweight locki

Re: Compiling log4net with strong name and 3rd party dependencies

2011-08-17 Thread Piers Williams
On 10 August 2011 23:38, Stefan Bodewig wrote: > > This seems to be consensus by now by pretty much all Open Source > projects in the .NET space. Just hand out your signing key so people > can create their own patch builds - as they can do for any other > platform as well. There is absolutely z

Re: Must declare a logger in the exe?

2008-07-03 Thread Piers Williams
You need to make a logging call in the exe too (or at least define a logger, as you say): "It is necessary that the first call to LogManager.GetLogger made during the process (or AppDomain) is made from the assembly that has the configuration attributes" http://logging.apache.org/log4net/release/

Re: setting RollingFileAppender output file name based on appdomain in ASP.NET application

2006-02-08 Thread Piers Williams
On 08/02/06, Log4Net <[EMAIL PROTECTED]> wrote: hi,I have several services and an ASP.NET application installed on the same machine.I want to use the rolling file appender and have each process log into its own set of files. ideally i would like to use one log4net configuration file to configure

Issues with log4net contexts under ASP.Net

2005-12-08 Thread Piers Williams
It's not a bug per-se, but I think it's definitely worth putting something up onto http://logging.apache.org/log4net/release/manual/contexts.html regarding how ThreadContext and LogicalThreadContext are both completely unsuitable for use within ASP.Net. Otherwise naive developers (myself previousl