Statistics
| Branch: | Revision:

root / trunk / Pithos.Client.WPF / app.config @ 7059b7a2

History | View | Annotate | Download (9.5 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<configuration>
3
	<configSections>
4
		<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5
			<section name="Pithos.Client.WPF.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6
		</sectionGroup>
7
		<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
8
			<section name="Pithos.Client.WPF.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
9
		</sectionGroup>
10
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
11
	</configSections>
12
	<runtime>
13
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
14
			<dependentAssembly>
15
				<assemblyIdentity name="Caliburn.Micro" publicKeyToken="8e5891231f2ed21f" culture="neutral" />
16
				<bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
17
			</dependentAssembly>
18
			<dependentAssembly>
19
				<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
20
				<bindingRedirect oldVersion="0.0.0.0-3.1.0.4000" newVersion="3.1.0.4000" />
21
			</dependentAssembly>
22
			<dependentAssembly>
23
				<assemblyIdentity name="NHibernate.ByteCode.Castle" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
24
				<bindingRedirect oldVersion="0.0.0.0-3.1.0.4000" newVersion="3.1.0.4000" />
25
			</dependentAssembly>
26
		</assemblyBinding>
27
	</runtime>
28
	<!--<appSettings>
29
		<add key="log4net.Internal.Debug" value="true" />
30
	</appSettings>
31
	<system.diagnostics>
32
		<trace autoflush="true">
33
			<listeners>
34
				<add name="textWriterTraceListener"
35
				 type="System.Diagnostics.TextWriterTraceListener"
36
				 initializeData="e:\\temp\\log4net.txt" />
37
			</listeners>
38
		</trace>
39
	</system.diagnostics>-->
40
	<userSettings>
41
		<Pithos.Client.WPF.Properties.Settings>
42
   <setting name="PithosPath" serializeAs="String">
43
    <value>e:\Pithos</value>
44
   </setting>
45
   <setting name="IconPath" serializeAs="String">
46
    <value>C:\Program Files\Common Files\TortoiseOverlays\icons\XPStyle</value>
47
   </setting>
48
   <setting name="ProxyServer" serializeAs="String">
49
    <value />
50
   </setting>
51
   <setting name="ProxyPort" serializeAs="String">
52
    <value>8080</value>
53
   </setting>
54
   <setting name="ProxyUsername" serializeAs="String">
55
    <value />
56
   </setting>
57
   <setting name="ProxyPassword" serializeAs="String">
58
    <value />
59
   </setting>
60
   <setting name="ProxyAuthentication" serializeAs="String">
61
    <value>True</value>
62
   </setting>
63
   <setting name="ExtensionsActivated" serializeAs="String">
64
    <value>True</value>
65
   </setting>
66
   <setting name="UserName" serializeAs="String">
67
    <value>pkanavos</value>
68
   </setting>
69
   <setting name="ApiKey" serializeAs="String">
70
    <value>9d3cb7b231e96f72ebe96af1c6cd5112</value>
71
   </setting>
72
   <setting name="ShowDesktopNotifications" serializeAs="String">
73
    <value>True</value>
74
   </setting>
75
   <setting name="StartOnSystemStartup" serializeAs="String">
76
    <value>True</value>
77
   </setting>
78
   <setting name="UseNoProxy" serializeAs="String">
79
    <value>False</value>
80
   </setting>
81
   <setting name="UseDefaultProxy" serializeAs="String">
82
    <value>True</value>
83
   </setting>
84
   <setting name="UseManualProxy" serializeAs="String">
85
    <value>False</value>
86
   </setting>
87
   <setting name="MustUpgrade" serializeAs="String">
88
    <value>True</value>
89
   </setting>
90
   <setting name="PollingInterval" serializeAs="String">
91
    <value>10</value>
92
   </setting>
93
   <setting name="ProxyDomain" serializeAs="String">
94
    <value />
95
   </setting>
96
   <setting name="HashingParallelism" serializeAs="String">
97
    <value>1</value>
98
   </setting>
99
   <setting name="StartupDelay" serializeAs="String">
100
    <value>00:01:00</value>
101
   </setting>
102
   <setting name="UpdateDiagnostics" serializeAs="String">
103
    <value>False</value>
104
   </setting>
105
   <setting name="UpdateCheckInterval" serializeAs="String">
106
    <value>24.00:00:00</value>
107
   </setting>
108
   <setting name="DebugLoggingEnabled" serializeAs="String">
109
    <value>False</value>
110
   </setting>
111
  </Pithos.Client.WPF.Properties.Settings>
112
	</userSettings>
113
	<connectionStrings>
114
		<add name="Sqlite_InMemory" providerName="System.Data.SQLite" connectionString="Data Source=:memory:;Version=3;New=True" />
115
	</connectionStrings>
116
	<system.data>
117
		<DbProviderFactories>
118
			<remove invariant="System.Data.SQLite" />
119
			<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
120
		</DbProviderFactories>
121
	</system.data>
122

    
123
	<startup useLegacyV2RuntimeActivationPolicy="true">
124
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
125
	</startup>
126
	<applicationSettings>
127
		<Pithos.Client.WPF.Properties.Settings>
128
   <setting name="CloudfilesAuthenticationUrl" serializeAs="String">
129
    <value>https://auth.api.rackspacecloud.com</value>
130
   </setting>
131
   <setting name="PithosLoginUrl" serializeAs="String">
132
    <value>https://pithos.dev.grnet.gr/login</value>
133
   </setting>
134
   <setting name="FeedbackUri" serializeAs="String">
135
    <value>https://pithos.dev.grnet.gr/im/feedback</value>
136
   </setting>
137
   <setting name="ProductionServer" serializeAs="String">
138
    <value>https://plus.pithos.grnet.gr</value>
139
   </setting>
140
   <setting name="DevelopmentServer" serializeAs="String">
141
    <value>https://pithos.dev.grnet.gr</value>
142
   </setting>
143
   <setting name="UpdateUrl" serializeAs="String">
144
    <value>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/versioninfo.xml</value>
145
   </setting>
146
   <setting name="FileIdleTimeout" serializeAs="String">
147
    <value>00:00:10</value>
148
   </setting>
149
   <setting name="UpdateForceCheck" serializeAs="String">
150
    <value>True</value>
151
   </setting>
152
  </Pithos.Client.WPF.Properties.Settings>
153
	</applicationSettings>
154
	<log4net>
155
		<appender name="TraceAppender" type="log4net.Appender.TraceAppender" >
156
			<layout type="log4net.Layout.PatternLayout">
157
				<conversionPattern value="%logger (%property{CloudFile}) [%level]- %message%newline" />
158
			</layout>
159
			<filter type="log4net.Filter.LoggerMatchFilter">
160
				<loggerToMatch value="NHibernate" />
161
				<acceptOnMatch value="false" />
162
			</filter>
163
			<filter type="log4net.Filter.LoggerMatchFilter">
164
				<loggerToMatch value="Caliburn" />
165
				<acceptOnMatch value="false" />
166
			</filter>
167
		</appender>
168

    
169
		<appender name="DumpFileAppender" type="log4net.Appender.RollingFileAppender">
170
			<file value="log.txt" />
171
			<appendToFile value="false" />
172
			<rollingStyle value="Size" />
173
			<maxSizeRollBackups value="10" />
174
			<maximumFileSize value="100KB" />
175
			<staticLogFileName value="true" />
176
			<layout type="log4net.Layout.XMLLayout"/>
177
		</appender>
178

    
179
		<appender name="DebugFileAppender" type="log4net.Appender.RollingFileAppender">
180
			<file value="debuglog.xml" />
181
			<appendToFile value="true" />
182
			<rollingStyle value="Size" />
183
			<maxSizeRollBackups value="10" />
184
			<maximumFileSize value="2MB" />
185
			<staticLogFileName value="true" />
186
			<layout type="log4net.Layout.XMLLayout"/>
187
		</appender>
188

    
189
		<appender name="OutputDebugStringAppender" type="log4net.Appender.OutputDebugStringAppender" >
190
			<layout type="log4net.Layout.PatternLayout">
191
				<conversionPattern value="%logger (%property{Operation}) [%level]- %message%newline" />
192
			</layout>
193
		</appender>
194

    
195
		<appender name="LossyFileAppender" type="log4net.Appender.BufferingForwardingAppender">
196
			<filter type="log4net.Filter.LevelRangeFilter">
197
				<levelMin value="DEBUG" />
198
				<levelMax value="FATAL" />
199
			</filter>
200
			<bufferSize value="30" />
201
			<lossy value="true"/>
202
			<evaluator type="log4net.Core.LevelEvaluator">
203
				<threshold value="ERROR" />
204
			</evaluator>
205
			<appender-ref ref="DumpFileAppender" />
206
		</appender>
207
		
208
		<appender name="MemoryAppender" type="log4net.Appender.MemoryAppender" >
209
			
210
			<threshold value="All" />
211
		</appender>
212
<!--
213
		<appender name="LossySmtpAppender" type="log4net.Appender.SmtpAppender">
214
			<to value="pkanavos@gmail.com" />
215
			<from value="pkpithos@gmail.com" />
216
			<subject value="Some subject" />
217
			<smtpHost value="smtp.gmail.com" />
218
			<authentication value="Basic" />
219
			<port value="587" />
220
			<bufferSize value="30" />
221
			<EnableSsl value="true"/>
222
			<lossy value="true" />
223
			<evaluator type="log4net.Core.LevelEvaluator">
224
				<threshold value="ERROR"/>
225
			</evaluator>
226
			<layout type="log4net.Layout.PatternLayout">
227
				<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{Operation}] - %message%newline%newline%newline" />
228
			</layout>
229
		</appender>
230
-->
231

    
232
		<logger name="NHibernate" additivity="false">
233
			<level value="WARN"/>
234
			<appender-ref ref="TraceAppender"/>
235
		</logger>
236

    
237

    
238
		<logger name="Caliburn" additivity="false">
239
			<level value="WARN"/>
240
			<appender-ref ref="TraceAppender"/>
241
		</logger>
242

    
243
		<logger name="Pithos" additivity="false">
244
			<level value="ALL"/>
245
			<appender-ref ref="TraceAppender"/>
246
		</logger>
247

    
248
		<root>
249
			<level value="ALL" />
250
			<appender-ref ref="DebugFileAppender" />
251
			<appender-ref ref="LossyFileAppender" />
252
			<!--
253
			<appender-ref ref="LossySmtpAppender" />
254
-->
255
			<appender-ref ref="TraceAppender" />
256
			<appender-ref ref="MemoryAppender" />
257
			<appender-ref ref="OutputDebugStringAppender" />
258
		</root>
259
	</log4net>
260
</configuration>