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 To: log4net-user@logging.apache.org Sent: Tu

Re: Experiencing locks while using AdoNetAppender

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

Re: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Ron Grabowski
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 like: log4net:

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 To

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 System.Data.SQ

RE: Using AdoNetAppender

2009-06-17 Thread James Green
rabow...@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/releas

Re: Using AdoNetAppender

2009-06-16 Thread Ron Grabowski
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 = new Layout2RawLayoutAdapter(new PatternLayo

Re: Using AdoNetAppender

2009-06-16 Thread Ron Grabowski
ion examples to AdoNetAppenderTest.cs if attach them to a JIRA ticket! From: James Green To: Log4NET User Sent: Tuesday, June 16, 2009 4:48:27 AM Subject: RE: Using AdoNetAppender Hi Again, Surely, this is all pointing to a far bigger problem. That is an horrifi

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 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 Green wrote: > Cracked it ... > >            AdoNetAppenderParameter logLevel = new > AdoNetAppenderParameter(); >            logLevel.ParameterName = "@log_level"; >            logLevel.La

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 = Syst

RE: Using AdoNetAppender

2009-06-16 Thread James Green
Hi Again, Indeed, this isn't the most straight forward thing. >and failed - but this is possibly because of a few things outside the >responsibility of the log4net codebase. >There's nothing wrong working through a poroblem - to help improve the >situ - but just rubbishing it won't help anyon

Re: Using AdoNetAppender

2009-06-16 Thread Wayne Douglas
ured using pure C# is easy.  Have you completed this task > without using Xml config?  Xml config is not always possible nor desirable. > > James. > > From: codingvi...@googlemail.com [mailto:codingvi...@googlemail.com] On > Behalf Of Wayne Dou

RE: Using AdoNetAppender

2009-06-16 Thread James Green
r desirable. James. _ From: codingvi...@googlemail.com [mailto:codingvi...@googlemail.com] On Behalf Of Wayne Douglas Sent: 16 June 2009 09:58 To: Log4NET User Subject: Re: Using AdoNetAppender why don't you write a fluent interface for it!?!? I think that for FREE software provided with SO

Re: Using AdoNetAppender

2009-06-16 Thread Wayne Douglas
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.apach

RE: Using AdoNetAppender

2009-06-16 Thread James Green
From: Ron 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

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 sur

Re: Using AdoNetAppender

2009-06-15 Thread Ron Grabowski
: 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 to cause every consuming component to require loads of config information in it just for logging purposes.

Re: Using AdoNetAppender

2009-06-15 Thread Ron Grabowski
{ // snip From: James Green To: Log4NET User 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 to cause eve

RE: Using AdoNetAppender

2009-06-15 Thread James Green
ender ... *sigh* ... 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

Re: Using AdoNetAppender

2009-06-15 Thread Wayne Douglas
nce 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 gotten AdoNetAppender to work from a app.

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 y

RE: Using AdoNetAppender

2009-06-15 Thread Matt Lund
--- From: James 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 conf

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 AdoNetAppend

DbType for CLOB column using AdoNetAppender

2005-10-24 Thread Ping Xie
Hi, I have sent the following email 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 trac

RE: Help inserting GUID using AdoNetAppender

2005-04-11 Thread Collier, Mike
. At least 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 S

Help inserting GUID using AdoNetAppender

2005-04-11 Thread David Elliott
I am trying to insert a uniqueidentifier (Guid) into a Sql Server table and am having problems. I'm using log4net-1.2.0-beta8. CREATE TABLE [dbo].[Log_Test1] ( [ID] [int] IDENTITY (1, 1) NOT NULL , [DateTime] [datetime] NOT NULL , [RequestID] [uniqueidentifier] NOT NULL ,

RE: Error using ADONetAppender

2004-08-11 Thread Ping Xie
Nicko Cadell" <[EMAIL PROTECTED]> 08/11/2004 02:23 PM Please respond to "Log4NET User"                 To:        "Log4NET User"         cc:                 Subject:        RE: Error using ADONetAppender Looking at the assembly with the file system properties and

RE: Error using ADONetAppender

2004-08-11 Thread Nicko Cadell
> Sent: 11 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 > confi

RE: Error using ADONetAppender

2004-08-11 Thread Ping Xie
--- I appreciate it. Ping Xie CACI 4831 Walden Lane Lanham, MD 20706 [EMAIL PROTECTED] (301) 306-8200 - Main (301) 306-2829 - Direct "Nicko Cadell" <[EMAIL PROTECTED]> 08/11/2004 09:36 AM Please respond to "Log4NET User&qu

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 connec

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