Thanks David. Actually we already have some sort of implementation in-house, but we're considering migrating to logback and I was wondering if there are any design constraints on using logback for NT event logging.
Shahar
-----Original Message-----
From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] On Behalf Of David Roussel
Sent: Thursday, February 17, 2011 6:16 PM
To: logback users list
Subject: Re: [logback-user] Logging to NT Event Log
Shahar,
I wrote an NT event logger once, about ten years ago. It wasn't that hard, but it's got some weird constraints. For example you must define a finite number of event types in DLL that you register. Each event type has a template message and points for values to be inserted. Then log events just specify the type and the data points.
This doesn't map that well to logback, but it's not a big problem.
Also if you DLL gets deleted then you can read those messages that are of the types that the DLL registered.
I may have got the detail wrong, as it was a long time ago I looked at it. I'm sure it's all well documented in MSDN.
David
On 17 Feb 2011, at 08:01, <Shahar.Kedar@thomsonreuters.com> wrote:Is it by design? Is there a problem with writing an appender of this sort?Thanks,Shahar-----Original Message-----From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] On Behalf Of Ceki GülcüSent: Wednesday, February 16, 2011 8:32 PMTo: logback users listSubject: Re: [logback-user] Logging to NT Event LogHello Shahar,No, there is not.--CekiOn 16/02/2011 4:25 PM, Shahar.Kedar@thomsonreuters.com wrote:Hi,Is there an appender which writes log event to the NT event log?Thanks,*Shahar Kedar*Software EngineerClearForest, a Thomson Reuters company*Thomson Reuters*Phone: +972-73-2676014shahar.kedar@thomsonreuters.comthomsonreuters.com_______________________________________________Logback-user mailing listLogback-user@qos.chhttp://qos.ch/mailman/listinfo/logback-userThis email was sent to you by Thomson Reuters, the global news and information company.Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters._______________________________________________Logback-user mailing listLogback-user@qos.chhttp://qos.ch/mailman/listinfo/logback-user_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user
This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user