-
-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Description
Conf ;
<threshold value="WARN"/>
<file type="log4net.Util.PatternString" value="path" />
<appendToFile value="true" />
<layout type="log4net.Layout.SerializedLayout, log4net.Ext.Json">
<decorator type="log4net.Layout.Decorators.StandardTypesDecorator, log4net.Ext.Json" />
<default />
<!--explicit default members-->
<remove value="ndc" />
<remove value="message" />
<!--remove the default preformatted message member-->
<member value="clientid:clientid" />
<member value="message:messageobject" />
<!--add raw message-->
</layout>
Windows .net framework 4.7.2 log4net.Ext.Json version 3.0.1. it suppose to write json to the defined path.