NLog でイベント ログに書き込めません。コンソールとファイルに書き込むことができました。NLog で例外を有効にしましたが、NLog からフィードバックがありません。
ここに私のNLog.configがあります:
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
throwExceptions="true">
<targets>
<target name="console" xsi:type="Console" layout="${message}" />
<target xsi:type="EventLog" name="eventlog" layout="${message}" log="Application" source="aaaTest"/>
<target xsi:type="File" fileName="log.txt" name="file"/>
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="eventlog,console,file" />
</rules>
</nlog>
イベント ビューアーで、「イベント ビューアー (ローカル)」 > 「Windows ログ」 > 「アプリケーション」を見ています。ただし、ログに「aaaTest」(定義したソース) のインスタンスはありません。