RE: Experiencing locks while using AdoNetAppender

2009-08-19 Thread Patrick Kalkman
User Onderwerp: Re: Experiencing locks while using AdoNetAppender I think that's how SQLite works. Have you tried writing to a single .db file from multiple threads without using log4net? From: Patrick Kalkman p...@hoogendoorn.nl To: log4net-user

Experiencing locks while using AdoNetAppender

2009-08-18 Thread Patrick Kalkman
Hi, I am using the AdoNetAppender for logging messages from multiple application. All the applications log into one sqllite database. Sometimes when a lot of information is logged I am experiencing exceptions like: log4net:ERROR [AdoNetAppender] Exception while writing to database

RE: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Karim Bourouba
Hi, I have seen similar behaviour when working with Access. I know this wont help, but I found it to be a limitation of file based databases unfortunately :( Subject: Experiencing locks while using AdoNetAppender Date: Tue, 18 Aug 2009 14:29:17 +0200 From: p...@hoogendoorn.nl

Re: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Ron Grabowski
: Experiencing locks while using AdoNetAppender Experiencing locks while using AdoNetAppender Hi, I am using the AdoNetAppender for logging messages from multiple application. All the applications log into one sqllite database. Sometimes when a lot of information is logged I am experiencing exceptions

Re: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Michael Schall
think that's how SQLite works. Have you tried writing to a single .db file from multiple threads without using log4net? From: Patrick Kalkman p...@hoogendoorn.nl To: log4net-user@logging.apache.org Sent: Tuesday, August 18, 2009 8:29:17 AM Subject: Experiencing locks while using AdoNetAppender

RE: Using AdoNetAppender

2009-06-17 Thread James Green
...@yahoo.com] Sent: 16 June 2009 23:00 To: Log4NET User Subject: Re: Using AdoNetAppender Its quite difficult to document every possible usage of a library. In addition to these documents: http://logging.apache.org/log4net/release/config-examples.html http://logging.apache.org/log4net/release/sdk

RE: Using AdoNetAppender

2009-06-16 Thread James Green
[mailto:rongrabow...@yahoo.com] Sent: 15 June 2009 22:01 To: Log4NET User Subject: Re: Using AdoNetAppender If you don't specify a ConnectionType AdoNetAppender defaults to using OleDbConnection which has a different connection string format than the more common SqlConnection. Are you sure you

RE: Using AdoNetAppender

2009-06-16 Thread James Green
Grabowski [mailto:rongrabow...@yahoo.com] Sent: 15 June 2009 22:32 To: Log4NET User Subject: Re: Using AdoNetAppender This page shows an example of loading an xml string into an XmlDocument then configure log4net from the XmlDocument: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src

Re: Using AdoNetAppender

2009-06-16 Thread Wayne Douglas
June 2009 22:32 *To:* Log4NET User *Subject:* Re: Using AdoNetAppender This page shows an example of loading an xml string into an XmlDocument then configure log4net from the XmlDocument: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/AdoNetAppenderTest.cs?view=co

Re: Using AdoNetAppender

2009-06-16 Thread Wayne Douglas
: Using AdoNetAppender why don't you write a fluent interface for it!?!? I think that for FREE software provided with SOURCE - it's a pretty darn good tool at a pretty darn good price - and so does the rest of the _whole_ industry - it being an _industry_ _standard_! There are plenty of other

RE: Using AdoNetAppender

2009-06-16 Thread James Green
Cracked it ... AdoNetAppenderParameter logLevel = new AdoNetAppenderParameter(); logLevel.ParameterName = @log_level; logLevel.Layout = new Layout2RawLayoutAdapter(new PatternLayout(%level)); logLevel.Size = 50; logLevel.DbType =

Re: Using AdoNetAppender

2009-06-16 Thread Wayne Douglas
bet that was a 'punching hands in the air' geek moment from hell On Tue, Jun 16, 2009 at 10:58 AM, James Greenjames.gr...@occam-dm.com wrote: Cracked it ...            AdoNetAppenderParameter logLevel = new AdoNetAppenderParameter();            logLevel.ParameterName = @log_level;      

RE: Using AdoNetAppender

2009-06-16 Thread James Green
bet that was a 'punching hands in the air' geek moment from hell Indeed ... I may even make a cup of tea to celebrate! :) Cheers, James.

Re: Using AdoNetAppender

2009-06-16 Thread Ron Grabowski
to AdoNetAppenderTest.cs if attach them to a JIRA ticket! From: James Green james.gr...@occam-dm.com To: Log4NET User log4net-user@logging.apache.org Sent: Tuesday, June 16, 2009 4:48:27 AM Subject: RE: Using AdoNetAppender Hi Again, Surely, this is all pointing to a far

Re: Using AdoNetAppender

2009-06-16 Thread Ron Grabowski
-dm.com To: Log4NET User log4net-user@logging.apache.org Sent: Tuesday, June 16, 2009 5:58:12 AM Subject: RE: Using AdoNetAppender Cracked it ... AdoNetAppenderParameter logLevel = new AdoNetAppenderParameter(); logLevel.ParameterName = @log_level; logLevel.Layout

Using AdoNetAppender

2009-06-15 Thread James Green
Hi All, I've spent about 4 hours today trying to get this working and have totally failed so far. I can't even really find much info on how to configure this purely in Code. In fact there is precious little I can find on the net in fact. Here is the code I'm using the set up the

RE: Using AdoNetAppender

2009-06-15 Thread Matt Lund
Green [mailto:james.gr...@occam-dm.com] Sent: Monday, June 15, 2009 9:26 AM To: Log4NET User Subject: Using AdoNetAppender Hi All, I've spent about 4 hours today trying to get this working and have totally failed so far. I can't even really find much info on how to configure this purely in Code

RE: Using AdoNetAppender

2009-06-15 Thread James Green
I may have to try that. Currently it just fails with an Oject reference not set to an instance of an object. Thanks, James. -Original Message- From: Matt Lund [mailto:ml...@control4.com] Sent: 15 June 2009 16:28 To: Log4NET User Subject: RE: Using AdoNetAppender Have you already

RE: Using AdoNetAppender

2009-06-15 Thread James Green
* ... Cheers, James. _ From: codingvi...@googlemail.com [mailto:codingvi...@googlemail.com] On Behalf Of Wayne Douglas Sent: 15 June 2009 16:57 To: Log4NET User Subject: Re: Using AdoNetAppender AppConfig is much simpler - you should start with that then convert to this if you need

Re: Using AdoNetAppender

2009-06-15 Thread Ron Grabowski
From: James Green james.gr...@occam-dm.com To: Log4NET User log4net-user@logging.apache.org Sent: Monday, June 15, 2009 12:04:16 PM Subject: RE: Using AdoNetAppender I think I'm going to have to try the config file method first. I'm wrapping log4net and I don't want

DbType for CLOB column using AdoNetAppender

2005-10-24 Thread Ping Xie
Hi,I have sent the followingemail but used a wrong subject(by replying). I'm resending it.Thanks.Hi, I'm using AdoNetAppender to log to an Oracle 10g database. There is a CLOB column used to store diagnosis message with stack trace

RE: Help inserting GUID using AdoNetAppender

2005-04-11 Thread Collier, Mike
that's what worked for me. ;) -Original Message- From: David Elliott [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 1:43 PM To: log4net-user@logging.apache.org Subject: Help inserting GUID using AdoNetAppender I am trying to insert a uniqueidentifier (Guid) into a Sql Server table

RE: Error using ADONetAppender

2004-08-11 Thread Nicko Cadell
I'm try to log messages to Oracle database. I got the following debug errors when run my application. -- - log4net:ERROR [ADONetAppender] Failed to load connection

RE: Error using ADONetAppender

2004-08-11 Thread Nicko Cadell
August 2004 16:23 To: Log4NET User Subject: RE: Error using ADONetAppender Nicko, Thank you very much for your response. I found out the version number and public key token of System.Data.OracleClient assembly and modified my configuration file. But I still got the same error

Error using ADONetAppender

2004-08-04 Thread Ping Xie
Hi, I'm try to log messages to Oracle database. I got the following debug errors when run my application. --- log4net:ERROR [ADONetAppender] Failed to load connection type