-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.config
57 lines (56 loc) · 2.73 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="AudiobookshelfTray.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
</configSections>
<userSettings>
<AudiobookshelfTray.Properties.Settings>
<setting name="ServerVersion" serializeAs="String">
<value />
</setting>
<setting name="ServerName" serializeAs="String">
<value>Audiobookshelf</value>
</setting>
<setting name="StartAtLogin" serializeAs="String">
<value>True</value>
</setting>
<setting name="ServerPort" serializeAs="String">
<value>13378</value>
</setting>
<setting name="DataDir" serializeAs="String">
<value />
</setting>
<setting name="UpgradeRequired" serializeAs="String">
<value>True</value>
</setting>
<setting name="AppVersion" serializeAs="String">
<value />
</setting>
<setting name="AutoCheckForUpdates" serializeAs="String">
<value>True</value>
</setting>
</AudiobookshelfTray.Properties.Settings>
</userSettings>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
throwConfigExceptions="true">
<targets>
<target name="logdebugsystem" xsi:type="DebugSystem"
layout="${when:when=logger!='Server':inner=[App ] [${date:format=yyyy-MM-dd HH\:mm\:ss.fff}] ${pad:padding=5:inner=${level:uppercase=true}}\: }[${logger:shortName=true}] ${message}"
/>
<target name="logfile" xsi:type="File"
layout="${when:when=logger!='Server':inner=[App ] [${date:format=yyyy-MM-dd HH\:mm\:ss.fff}] ${pad:padding=5:inner=${level:uppercase=true}}\: }[${logger:shortName=true}] ${message}"
maxArchiveFiles="4"
archiveAboveSize="1024000"
fileName="${specialfolder:folder=LocalApplicationData:cached=true}/AudiobookshelfTray/logfile.txt"
/>
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="logdebugsystem" />
<logger name="*" minlevel="Debug" writeTo="logfile" />
</rules>
</nlog>
</configuration>