asynchronous logging using log4net

2009-08-18 Thread John Gu
Hello, Looking through the archives, I see attempts in the past to add asynchronous logging to log4net, but am not sure if the efforts have gone anywhere. I would appreciate some feedback on how to accomplish what is conceptually a pretty simple task. I would like to do the following: 1) have a

Re: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Michael Schall
Not sure if this has changed, but I'm pretty sure there is a database lock on inserts/updates. So only one insert at a time. You might try the BufferedForwardingAppender. It might serialize the inserts for you. On Aug 18, 2009, at 8:36 PM, Ron Grabowski wrote: I think that's how SQLite

Re: Experiencing locks while using AdoNetAppender

2009-08-18 Thread Ron Grabowski
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: Tuesday, August 18, 2009 8:29:17 AM Subject: Experiencing locks while usin

Re: Out of the office

2009-08-18 Thread si
I've been on the log4net mailing list for years now, and this clown still can't configure his out-of-reply tool correctly. On Tue, Jul 28, 2009 at 11:08 AM, Allen Anderson wrote: > Whatever > > -Original Message- > From: harry.dougl...@pnc.com [mailto:harry.dougl...@pnc.com] > Sent: Monday

RE: Can we write the data to Multiple log

2009-08-18 Thread Karim Bourouba
I am sorry, I am more than willing to provide help to you, but I dont really have the time to go through all of your code. You sent me an entire project. Can you not just explain what you have done so far and what problems you have faced? I know this sounds bad, but there have been quite a few

RE: Does log4net support 64-bit Windows environments?

2009-08-18 Thread Rob Prouse
We are running on 64 bit windows here with no problems although our .NET applications are compiled 32-bit (not Any CPU) because they link to 32-bit native DLLs. Which logging appenders are you using? I'm not sure, but some of those might pInvoke out to native code. If the native code that gets

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: log4

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: Adding custom logging properties

2009-08-18 Thread AdamTappis
Thanks Ron, that looks like it will allow me to populate the Properties collection of the LoggingEvent instance. Then, considering that the actual properties logged will differ per event I guess I would combine this with my custom Layout class. I think that gives me what I need. Thanks again.

RE: Can we write the data to Multiple log

2009-08-18 Thread Karim Bourouba
I think the point I failed to make is this; in my opinion, handling the logging from the UI is a bad thing, just configure your application to log as soon as it is started. Ron Grabowski sent a good example of how to do what you want to do, to which you replied. Failing that, just include two

RE: Can we write the data to Multiple log

2009-08-18 Thread raghuram.raichooti
OK are not suppose to use the DB. Coming to logging. I need to use RollingFileAppenders for both of the Logs. When you say two logs, its one for the Application Developers who needs to get complete information for them to track. And the other log is for the Tivoli server which keeps tracking