I'm trying to use log4net to write to the Windows Event log. I'm using the Fellow Oak DICOM log4net connector
I have setup log4net as I would in any service: the XmlConfigurator in AssemblyInfo, the *exe.logger is Copy to output, Copy Always. I have the nuget package Dicom.Log4net and the log4net package installed.
After looking at the wiki, I've added
Dicom.Log.LogManager.SetImplementation(Dicom.Log.Log4NetManager.Instance);
Can I use my log4net xml config or would I need to initialize it like the Logging Serilog example?