How can I avoid window complaints about the lack of descriptions of event identifiers when registering with NLog. When i use:
<target xsi:type="EventLog" name="eventLog" layout="${message}" machineName="." source="MyApp" log="Application" />
and
<rules> <logger name="*" minlevel="Debug" writeTo="eventLog" /> </rules>
the entry will appear in the log. But Windows complains about the lack of a description for the event identifier "0", which is correct.
Should I do something like here to get a clean log?
source share