logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: What to do with EventLogAppender on Vista and newer?
Date Mon, 12 Sep 2011 11:29:54 GMT
On 2011-09-12, Stefan Bodewig wrote:

> On 2011-09-11, Roy Chastain wrote:

>>> (1) document that you need to create your event sources outside of
>>> your application (usually during deployment) and (2) deal with the
>>> SecurityException in a more graceful way (log something and disable
>>> the appender, likely).

>> +1 for each 1 and 2

> OK, I'll see what I can come up with.

(1) has already been done
<http://logging.apache.org/log4net/release/faq.html#trouble-EventLog>
and it doesn't even apply to Vista and newer only (what is new is that
you need local admin privs to even check whether an event source
exists).

I've improved the error logging that is going to happen and closed the
issue.

Stefan

Mime
View raw message