Re: asynchronous logging

2013-07-31 Thread Dominik Psenner
> > ** ** > > *From:* Dominik Psenner [mailto:dpsen...@gmail.com] > *Sent:* Wednesday, July 31, 2013 2:42 PM > > *To:* Log4NET Dev > *Subject:* Re: asynchronous logging > > ** ** > > I see your point. In ThreadContext there's no way to get to the keys, even >

RE: asynchronous logging

2013-07-31 Thread Farrington, Linda
xists then I'd rather leverage that. Thanks, Linda From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: Wednesday, July 31, 2013 2:42 PM To: Log4NET Dev Subject: Re: asynchronous logging I see your point. In ThreadContext there's no way to get to the keys, even though internally

Re: asynchronous logging

2013-07-31 Thread Dominik Psenner
on the object, but it > is declared as internal and so I cannot access it. > > ** ** > > Thanks for trying though > > ** ** > > *From:* Dominik Psenner [mailto:dpsen...@gmail.com] > *Sent:* Wednesday, July 31, 2013 2:00 PM > > *To:* Log4N

RE: asynchronous logging

2013-07-31 Thread Farrington, Linda
tProperties method on the object, but it is declared as internal and so I cannot access it. Thanks for trying though From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: Wednesday, July 31, 2013 2:00 PM To: Log4NET Dev Subject: Re: asynchronous logging Easy as that: http://logging.apach

Re: asynchronous logging

2013-07-31 Thread Dominik Psenner
am new to log4net, so it’s possible I am missing the obvious) > > ** ** > > Thanks, > > ** ** > > Linda > > ** ** > > *From:* Dominik Psenner [mailto:dpsen...@gmail.com] > *Sent:* Wednesday, July 31, 2013 9:25 AM > > *To:* Log4NET Dev > *Subject:* Re: asynch

RE: asynchronous logging

2013-07-31 Thread Farrington, Linda
this. (I am new to log4net, so it’s possible I am missing the obvious) Thanks, Linda From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: Wednesday, July 31, 2013 9:25 AM To: Log4NET Dev Subject: Re: asynchronous logging I may be pointing out the obvious, but why don't you let

Re: asynchronous logging

2013-07-31 Thread Dominik Psenner
don’t know what the fields are named. (We have two different applications and they pass in different data in the collection. *From:*chin...@gmail.com [mailto:chin...@gmail.com] *On Behalf Of *Chinh Do *Sent:* Tuesday, July 30, 2013 10:07 PM *To:* Log4NET Dev *Subject:* Re: asynchronous log

RE: asynchronous logging

2013-07-31 Thread Farrington, Linda
they pass in different data in the collection. From: chin...@gmail.com [mailto:chin...@gmail.com] On Behalf Of Chinh Do Sent: Tuesday, July 30, 2013 10:07 PM To: Log4NET Dev Subject: Re: asynchronous logging Yes I was referring to log4net.Core.LoggingEvent.Properties. In my case, I know exactly

Re: asynchronous logging

2013-07-30 Thread Chinh Do
> ** ** > > *From:* chin...@gmail.com [mailto:chin...@gmail.com] *On Behalf Of *Chinh > Do > *Sent:* Tuesday, July 30, 2013 4:28 PM > *To:* Log4NET Dev > *Subject:* Re: asynchronous logging > > ** ** > > What I did my my AsyncAppender was to write thread specific d

Re: asynchronous logging

2013-07-30 Thread George Chung
om] *On Behalf Of *Chinh > Do > *Sent:* Tuesday, July 30, 2013 4:28 PM > *To:* Log4NET Dev > *Subject:* Re: asynchronous logging > > ** ** > > What I did my my AsyncAppender was to write thread specific data into > loggingEvent.Properties in the main thread, just b

RE: asynchronous logging

2013-07-30 Thread Farrington, Linda
...@gmail.com [mailto:chin...@gmail.com] On Behalf Of Chinh Do Sent: Tuesday, July 30, 2013 4:28 PM To: Log4NET Dev Subject: Re: asynchronous logging What I did my my AsyncAppender was to write thread specific data into loggingEvent.Properties in the main thread, just before I add the loggingEvent to

Re: asynchronous logging

2013-07-30 Thread Chinh Do
What I did my my AsyncAppender was to write thread specific data into loggingEvent.Properties in the main thread, just before I add the loggingEvent to a queue. Then you can use "%P{}" in your log4net config section to get them later in the other thread. My AsyncAppender was based on log4net Async

Re: asynchronous logging

2013-07-30 Thread George Chung
If you authored your own AsynchronousAdoNetAppender that uses the new .NET async/await constructs, you could use the TPL library to wrap the ado.netasync operations as a Task. Then if you *avoid *calling ConfigureAwait(false), I'm pretty sure the completion routine will complete on the original AS

Re: asynchronous logging

2013-07-30 Thread Michael Schall
You could try the BufferingForwardingAppender. We use this while writing to a file (we usually buffer up 512 events) and I believe we use LogicalThreadContext for certain things we want logged. You can setup an evaluator so that the buffer is flushed at certain times other than size. We do so if

asynchronous logging

2013-07-30 Thread Farrington, Linda
We are trying to log asynchronously using an asynchronousadonetappender inherited from adonetappender. Logging standard properties seems to work fine, but custom properties do not. I understand that this is because the asynchronous appender is logging the messages on another thread and we're

[jira] [Updated] (LOG4NET-201) Add asynchronous logging behavior

2011-09-06 Thread Stefan Bodewig (JIRA)
IRA ticket for an async appender shortly, will tie them together later. > Add asynchronous logging behavior > - > > Key: LOG4NET-201 > URL: https://issues.apache.org/jira/browse/LOG4NET-201 > Project: Log4ne

Re: Log4net Asynchronous Logging

2011-04-18 Thread Ron Grabowski
https://github.com/lorenzomelato/rhino-commons/blob/master/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs - Original Message - From: anjansingh To: log4net-dev@logging.apache.org Cc: Sent: Monday, April 11, 2011 5:09 AM Subject: RE: Log4net Asynchronous Logging Thanks for yoyr

RE: Log4net Asynchronous Logging

2011-04-11 Thread Dominik Psenner
11:10 AM > To: log4net-dev@logging.apache.org > Subject: RE: Log4net Asynchronous Logging > > > Thanks for yoyr reply. Actually I am going to build and application in > ASP.NET that requires logging of exceptions in SQL Server. For that > purpose > I need to log except

RE: Log4net Asynchronous Logging

2011-04-11 Thread anjansingh
What should be asynchronous? > > Greetings, > D. > >> -Original Message- >> From: anjansingh [mailto:mailan...@hotmail.com] >> Sent: Monday, April 11, 2011 7:35 AM >> To: log4net-dev@logging.apache.org >> Subject: Log4net Asynchronous Logging

RE: Log4net Asynchronous Logging

2011-04-11 Thread Dominik Psenner
Howdie, would you please be more specific? What should be asynchronous? Greetings, D. > -Original Message- > From: anjansingh [mailto:mailan...@hotmail.com] > Sent: Monday, April 11, 2011 7:35 AM > To: log4net-dev@logging.apache.org > Subject: Log4net Asynchronous Logging

Log4net Asynchronous Logging

2011-04-10 Thread anjansingh
Hi All, Can anybody plz give me code walkthru of how to do a Asynchronous logging using Log4net? I have been searching for sometime but cound not get any helpful link. Any useful help would do the needful. Urgent help needed. -- View this message in context: http://old.nabble.com/Log4net

[jira] Commented: (LOG4NET-201) Add asynchronous logging behavior

2009-10-19 Thread Ron Grabowski (JIRA)
in Appenders) { appender.DoAppend(events); } } } Probably needs some flush code in the Close() method too. > Add asynchronous logging behavior > - > > Key: LOG4NET-201 > URL: https://issues.apache

[jira] Commented: (LOG4NET-201) Add asynchronous logging behavior

2009-10-19 Thread Grant Birchmeier (JIRA)
bout details here, but no resolution. Was Ron passing the ball back to Jason? Is there anyone picking this up for inclusion into trunk? Is there a competing fix that has or will go in? > Add asynchronous logging behavior > - > >

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

[jira] Issue Comment Edited: (LOG4NET-201) Add asynchronous logging behavior

2009-02-23 Thread Ron Grabowski (JIRA)
d think about creating a custom ILoggerRepository at that point. > Add asynchronous logging behavior > - > > Key: LOG4NET-201 > URL: https://issues.apache.org/jira/browse/LOG4NET-201 > Project: Log4net &g

[jira] Commented: (LOG4NET-201) Add asynchronous logging behavior

2009-02-23 Thread Ron Grabowski (JIRA)
7;d think about creating a custom ILoggerRepository at that point. > Add asynchronous logging behavior > - > > Key: LOG4NET-201 > URL: https://issues.apache.org/jira/browse/LOG4NET-201 > Project: Log4net >

Re: Commit access requested for an asynchronous logging addition

2009-02-17 Thread Jason Aubrey
Hi Ron, I've opened a JIRA ticket: https://issues.apache.org/jira/browse/LOG4NET-201 Thanks for the input, I added our e-mails and replies in the ticket. Jason

[jira] Updated: (LOG4NET-201) Add asynchronous logging behavior

2009-02-17 Thread Jason (JIRA)
changes made while naive about the overall structure of log4net. Ron's subsequent e-mail makes some good suggestions for improvement. This could however be a starting point, or a source for copy and paste (e.g. the ThreadSafeBlockingQueue). > Add asynchronous logging

[jira] Created: (LOG4NET-201) Add asynchronous logging behavior

2009-02-17 Thread Jason (JIRA)
Add asynchronous logging behavior - Key: LOG4NET-201 URL: https://issues.apache.org/jira/browse/LOG4NET-201 Project: Log4net Issue Type: New Feature Components: Core Environment: All

Re: Commit access requested for an asynchronous logging addition

2009-02-17 Thread Ron Grabowski
__ From: Jason Aubrey To: log4net-dev@logging.apache.org Sent: Tuesday, February 17, 2009 12:13:26 PM Subject: Commit access requested for an asynchronous logging addition Hi, I just added a property to my working copy called 'Synchronous'. It's 'true' by default t

asynchronous logging with HTTP requests

2007-04-19 Thread Derek Williams
We are looking at log4net as a new logging app but are really interested in something that will allow us to handle all logging asynchronously. Basically, we want the HTTP request to complete without waiting for the logger to finish. I was reading in the documentation about logging in multi-thr