Default NLog Pattern not persisted in configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Sam
Reply | Threaded
Open this post in threaded view
|

Default NLog Pattern not persisted in configuration

Sam
When I edit the configuration: Settings->File receiver->Default NLog pattern.
It is not persisted correctly in the .lvc file after saving.

The contents of the .lvc file is the following:
<DefaultLog4NetPattern z:Id="3">%d [%t] %p %logger [%x] - %m</DefaultLog4NetPattern>
<DefaultNlogJsonPattern z:Id="4">%d [%t] %p %logger [%x] - %m</DefaultNlogJsonPattern>
<DefaultNlogPattern z:Ref="3" i:nil="true" />

It works when I change that manually in the .lvc file to:
<DefaultLog4NetPattern z:Id="3">%d [%t] %p %logger [%x] - %m</DefaultLog4NetPattern>
<DefaultNlogJsonPattern z:Ref="3" i:nil="true" />
<DefaultNlogPattern z:Id="4">"${longdate}";"${level}";"${logger}";"${message}";"${exception}"/DefaultNlogPattern>

I'm using Log4View V2 1.5.3.1583 Professional edition.
Reply | Threaded
Open this post in threaded view
|

Re: Default NLog Pattern not persisted in configuration

Ulrich
Administrator
Hi Sam,

thank you for this bug report.
We could reproduce the problem. It will be fixed in Version 1.6.

Ulrich
Sam
Reply | Threaded
Open this post in threaded view
|

Re: Default NLog Pattern not persisted in configuration

Sam
Hi Ulrich

Thanks for your response. I'm looking forward to v1.6.0 ;-)