<html><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><span>Shahar,</span></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><br></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><span></span></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><br></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><span>I don't think there are any design constraints. If you already have an implementation, just wrap it in an appender, and reference it from your logback.xml.&nbsp;</span></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><br></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><span></span></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><br></span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: medium; "><span>David&nbsp;</span></span><br><br>On 17 Feb 2011, at 16:22, &lt;<a href="mailto:Shahar.Kedar@thomsonreuters.com">Shahar.Kedar@thomsonreuters.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><span>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.</span><br><span></span><br><span>Shahar</span><br><span></span><br><span>-----Original Message-----</span><br><span>From: <a href="mailto:logback-user-bounces@qos.ch">logback-user-bounces@qos.ch</a> [mailto:logback-user-bounces@qos.ch] On Behalf Of David Roussel</span><br><span>Sent: Thursday, February 17, 2011 6:16 PM</span><br><span>To: logback users list</span><br><span>Subject: Re: [logback-user] Logging to NT Event Log</span><br><span></span><br><span>Shahar,</span><br><span></span><br><span>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. </span><br><span></span><br><span>This doesn't map that well to logback, but it's not a big problem. </span><br><span></span><br><span>Also if you DLL gets deleted then you can read those messages that are of the types that the DLL registered. </span><br><span></span><br><span>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. </span><br><span></span><br><span>David</span><br><span></span><br><span>On 17 Feb 2011, at 08:01, &lt;<a href="mailto:Shahar.Kedar@thomsonreuters.com">Shahar.Kedar@thomsonreuters.com</a>&gt; wrote:</span><br><span></span><br><blockquote type="cite"><span>Is it by design? Is there a problem with writing an appender of this sort?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thanks,</span><br></blockquote><blockquote type="cite"><span>Shahar</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>-----Original Message-----</span><br></blockquote><blockquote type="cite"><span>From: <a href="mailto:logback-user-bounces@qos.ch">logback-user-bounces@qos.ch</a> [mailto:logback-user-bounces@qos.ch] On Behalf Of Ceki Gülcü</span><br></blockquote><blockquote type="cite"><span>Sent: Wednesday, February 16, 2011 8:32 PM</span><br></blockquote><blockquote type="cite"><span>To: logback users list</span><br></blockquote><blockquote type="cite"><span>Subject: Re: [logback-user] Logging to NT Event Log</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hello Shahar,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>No, there is not.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span>Ceki</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On 16/02/2011 4:25 PM, <a href="mailto:Shahar.Kedar@thomsonreuters.com">Shahar.Kedar@thomsonreuters.com</a> wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hi,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Is there an appender which writes log event to the NT event log?</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Thanks,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*Shahar Kedar*</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Software Engineer</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>ClearForest, a Thomson Reuters company</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*Thomson Reuters*</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Phone: +972-73-2676014</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span><a href="mailto:shahar.kedar@thomsonreuters.com">shahar.kedar@thomsonreuters.com</a></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span><a href="http://thomsonreuters.com">thomsonreuters.com</a></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Logback-user mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br></blockquote><blockquote type="cite"><span><a href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>This email was sent to you by Thomson Reuters, the global news and information company.</span><br></blockquote><blockquote type="cite"><span>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.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Logback-user mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br></blockquote><blockquote type="cite"><span><a href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a></span><br></blockquote><span>_______________________________________________</span><br><span>Logback-user mailing list</span><br><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br><span><a href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a></span><br><span></span><br><span>This email was sent to you by Thomson Reuters, the global news and information company.</span><br><span>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.</span><br><span>_______________________________________________</span><br><span>Logback-user mailing list</span><br><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br><span><a href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a></span><br></div></blockquote></body></html>