Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.10
-
None
-
None
Description
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.