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

Reply via email to