EventLogAppender's ActivateOptions throws SecurityException on Vista/Win2k3 and later when not run as administrator -------------------------------------------------------------------------------------------------------------------
Key: LOG4NET-310 URL: https://issues.apache.org/jira/browse/LOG4NET-310 Project: Log4net Issue Type: Bug Affects Versions: 1.2.10 Reporter: Stefan Bodewig Fix For: 1.2.11 ActivateOptions uses EventLog.SourceExists which throws an exception of the source hasn't been found in any of the logs the user was allowed to read and there are others (in particular "Security") that the user is not allowed to access. This is the reason of one of the unit test errors I reported in LOG4NET-301 Even if the code catches the exception and assumes the source doesn't exist this won't help as EventLog.CreateEventSource must not be called without administrator privileges either. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira