Log4Net only for the committed techies

2005-03-17 Thread David Anderson
Hi, I have been following log4net-users for quite a while (and even had a couple of abortive efforts to get it working) and it strikes me that this is something which (at the moment) is only for the highly competent techies. If you go to the Apache log4net site you are presented with very little

Re: RE : ASP.NET and log4net

2004-11-29 Thread David Anderson
value="%d{'-'MM'-'dd HH':'mm':'ss'.'fff}" /> <.... You can also use "old syntax=yes" in your connection string to keep the "old" behaviour. -- Regards David David Anderson mailto: <[EMAIL PROTECTED]> DMA Associates t: 023 80273769 f: 0870 131 9143 m: 07966 889246

Re: Strange behaviour

2004-07-31 Thread David Anderson
Barry Burton wrote: File->New scroll down to bottom add app.config file type add in whatever config info you need VS will automatically generate the correct file Yes! That works - no more deleted config file. Thank you! But. So how do I then use this config file? I have been trying:

Re: Strange behaviour

2004-07-31 Thread David Anderson
It seems that the config file is being wiped out when I start the application, so perhaps it is a problem with my VS setup. Anyone any ideas? David David Anderson wrote: I have just started with log4net, and am having some difficulty in getting things going. I have code: Imports log4net

Re: Log4net new user: error no appender found: what am I doing wrong?

2004-07-13 Thread David Anderson
Michael wrote: Rich, Thanks for the info, but I'm still struggling. Here's my new code: I'm just using the console appender: Michael, Are you using Visual Studio? I have found that VS seems to delete the config file when building. Could this be part of the problem? Regards David

Re: Strange behaviour

2004-07-13 Thread David Anderson
Cort Schaefer wrote: Download DebugView from www.sysinternals.com , it will show you the trace messages that are output while log4net is starting up. When I have had problems with no logging, that usually tells me enough information to know why. Thanks, Cort,

Re: Strange behaviour

2004-07-13 Thread David Anderson
Is anyone there? Is any more info needed? David Anderson wrote: I have just started with log4net, and am having some difficulty in getting things going. I have code: Imports log4net Imports log4net.Config Module Module1 Private log As log4net.ILog = log4net.LogManager.GetLogger

Strange behaviour

2004-07-08 Thread David Anderson
I have just started with log4net, and am having some difficulty in getting things going. I have code: Imports log4net Imports log4net.Config Module Module1 Private log As log4net.ILog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType) Sub Main()