Re: Using log4net with VistaDB

2007-10-12 Thread Ron Grabowski
You're missing a connectionType node for telling log4net that it should use VistaDBConnection: http://logging.apache.org/log4net/release/config-examples.html - Original Message From: ckantzer <[EMAIL PROTECTED]> To: log4net-user@logging.apache.org Sent: Friday, October 12, 2007 1:30:27

Re: Custom Appender - Clients still require Log4Net reference?

2007-10-12 Thread Peter Drier
If you extend a class, then that classes definition is part of your definition, and thus the extended class must be available to anyone using your class in order to compile. If you completely wrap a class and translate all calls to and from it, then it would not be needed by anyone referencing you

Custom Appender - Clients still require Log4Net reference?

2007-10-12 Thread richard . collette
I have a custom log implementation (baseless LogManager, extended ILog and extended LogImpl). It's working fine. The only problem is that the projects which reference my custom logger, also seem to require that I specifically add a reference to Log4Net. Is there a way to avoid this? In the m

Using log4net with VistaDB

2007-10-12 Thread ckantzer
I am trying use log4net to write to a database. The database we are using is VistaDB. I am able to write to a file correctly but I'm getting the following error when i try to write to the VistaDB file: log4net:ERROR [AdoNetAppender] Could not open database connection [Provider=VistaDB.NET20;Dat

Clear the content of the log file from the application

2007-10-12 Thread Фаттахов Фарит
Hi there! How can I clear the content of the log file specified in the log4net configuration file, when it is needed in the application(such as some button click event)? RollingFileAppender does not solve the problem because it is needed to stay the log file name always the same.