The service name is not added to the log in new versions
Opened this issue · 0 comments
Dimland commented
The nlog variable is not working in new versions (check on 1.1.0. and 1.0.14 versions).
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">
<extensions>
<add assembly="Logzio.DotNet.NLog" />
</extensions>
<rules>
<logger name="*" writeTo="console" />
<logger name="*" minlevel="Debug" writeTo="logzio" />
</rules>
<variable name="service" value="ExternalCycleJob" /> // in log is not added service name ExternalCycleJob
</nlog>
On version 0.20 it works.