Description
::RegisterEventSource uses the RPC method for logging events to an event log if a server name is passed in, even if localhost. In order to use the local API, you must pass NULL into the method for the server name.
Also, NTEventLogAppender logs no useful messages if an error occured somewhere in the Windows API.