|
|
|
@ -13,22 +13,8 @@
|
|
|
|
|
layout="${date} ${logger} ${level}: ${message}" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<target name="Database" xsi:type="Database"
|
|
|
|
|
dbProvider="Mono.Data.Sqlite.SqliteConnection, Mono.Data.Sqlite, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" keepConnection="false"
|
|
|
|
|
connectionString="Data Source=PlexRequests.sqlite, version=3"
|
|
|
|
|
commandText="INSERT into Logs(Date, Level, Logger, Callsite, Message, Exception)
|
|
|
|
|
values(@Date, @Loglevel, @Logger, @Callsite, @Message, @Exception)">
|
|
|
|
|
<parameter name="@Date" layout="${longdate}"/>
|
|
|
|
|
<parameter name="@Loglevel" layout="${level:uppercase=true}"/>
|
|
|
|
|
<parameter name="@Logger" layout="${logger}"/>
|
|
|
|
|
<parameter name="@Callsite" layout="${callsite:filename=true}"/>
|
|
|
|
|
<parameter name="@Message" layout="${message}"/>
|
|
|
|
|
<parameter name="@Exception" layout="${exception:format=tostring}"/>
|
|
|
|
|
</target>-->
|
|
|
|
|
|
|
|
|
|
</targets>
|
|
|
|
|
<rules>
|
|
|
|
|
<logger name="*" minlevel="Trace" writeTo="filelog" />
|
|
|
|
|
<!--<logger name="*" minlevel="Trace" writeTo="Database" />-->
|
|
|
|
|
</rules>
|
|
|
|
|
</nlog>
|