Revision 6bcdd8e2 trunk/Pithos.Client.WPF/app.config

b/trunk/Pithos.Client.WPF/app.config
1 1
<?xml version="1.0" encoding="utf-8"?>
2 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
  <userSettings>
29
    <Pithos.Client.WPF.Properties.Settings>
30
      <setting name="PithosPath" serializeAs="String">
31
        <value>e:\Pithos</value>
32
      </setting>
33
      <setting name="IconPath" serializeAs="String">
34
        <value>C:\Program Files\Common Files\TortoiseOverlays\icons\XPStyle</value>
35
      </setting>
36
      <setting name="ProxyServer" serializeAs="String">
37
        <value />
38
      </setting>
39
      <setting name="ProxyPort" serializeAs="String">
40
        <value>8080</value>
41
      </setting>
42
      <setting name="ProxyUsername" serializeAs="String">
43
        <value />
44
      </setting>
45
      <setting name="ProxyPassword" serializeAs="String">
46
        <value />
47
      </setting>
48
      <setting name="ProxyAuthentication" serializeAs="String">
49
        <value>True</value>
50
      </setting>
51
      <setting name="ExtensionsActivated" serializeAs="String">
52
        <value>True</value>
53
      </setting>
54
      <setting name="UserName" serializeAs="String">
55
        <value>pkanavos</value>
56
      </setting>
57
      <setting name="ApiKey" serializeAs="String">
58
        <value>9d3cb7b231e96f72ebe96af1c6cd5112</value>
59
      </setting>
60
      <setting name="ShowDesktopNotifications" serializeAs="String">
61
        <value>True</value>
62
      </setting>
63
      <setting name="StartOnSystemStartup" serializeAs="String">
64
        <value>True</value>
65
      </setting>
66
      <setting name="UseNoProxy" serializeAs="String">
67
        <value>False</value>
68
      </setting>
69
      <setting name="UseDefaultProxy" serializeAs="String">
70
        <value>True</value>
71
      </setting>
72
      <setting name="UseManualProxy" serializeAs="String">
73
        <value>False</value>
74
      </setting>
75
      <setting name="MustUpgrade" serializeAs="String">
76
        <value>True</value>
77
      </setting>
78
      <setting name="PollingInterval" serializeAs="String">
79
        <value>10</value>
80
      </setting>
81
      <setting name="ProxyDomain" serializeAs="String">
82
        <value />
83
      </setting>
84
      <setting name="HashingParallelism" serializeAs="String">
85
        <value>1</value>
86
      </setting>
87
      <setting name="StartupDelay" serializeAs="String">
88
        <value>00:01:00</value>
89
      </setting>
90
    </Pithos.Client.WPF.Properties.Settings>
91
  </userSettings>
92
  <connectionStrings>
93
    <add name="Sqlite_InMemory" providerName="System.Data.SQLite" connectionString="Data Source=:memory:;Version=3;New=True" />
94
  </connectionStrings>
95
  <system.data>
96
    <DbProviderFactories>
97
      <remove invariant="System.Data.SQLite" />
98
      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
99
    </DbProviderFactories>
100
  </system.data>
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
	<userSettings>
29
		<Pithos.Client.WPF.Properties.Settings>
30
			<setting name="PithosPath" serializeAs="String">
31
				<value>e:\Pithos</value>
32
			</setting>
33
			<setting name="IconPath" serializeAs="String">
34
				<value>C:\Program Files\Common Files\TortoiseOverlays\icons\XPStyle</value>
35
			</setting>
36
			<setting name="ProxyServer" serializeAs="String">
37
				<value />
38
			</setting>
39
			<setting name="ProxyPort" serializeAs="String">
40
				<value>8080</value>
41
			</setting>
42
			<setting name="ProxyUsername" serializeAs="String">
43
				<value />
44
			</setting>
45
			<setting name="ProxyPassword" serializeAs="String">
46
				<value />
47
			</setting>
48
			<setting name="ProxyAuthentication" serializeAs="String">
49
				<value>True</value>
50
			</setting>
51
			<setting name="ExtensionsActivated" serializeAs="String">
52
				<value>True</value>
53
			</setting>
54
			<setting name="UserName" serializeAs="String">
55
				<value>pkanavos</value>
56
			</setting>
57
			<setting name="ApiKey" serializeAs="String">
58
				<value>9d3cb7b231e96f72ebe96af1c6cd5112</value>
59
			</setting>
60
			<setting name="ShowDesktopNotifications" serializeAs="String">
61
				<value>True</value>
62
			</setting>
63
			<setting name="StartOnSystemStartup" serializeAs="String">
64
				<value>True</value>
65
			</setting>
66
			<setting name="UseNoProxy" serializeAs="String">
67
				<value>False</value>
68
			</setting>
69
			<setting name="UseDefaultProxy" serializeAs="String">
70
				<value>True</value>
71
			</setting>
72
			<setting name="UseManualProxy" serializeAs="String">
73
				<value>False</value>
74
			</setting>
75
			<setting name="MustUpgrade" serializeAs="String">
76
				<value>True</value>
77
			</setting>
78
			<setting name="PollingInterval" serializeAs="String">
79
				<value>10</value>
80
			</setting>
81
			<setting name="ProxyDomain" serializeAs="String">
82
				<value />
83
			</setting>
84
			<setting name="HashingParallelism" serializeAs="String">
85
				<value>1</value>
86
			</setting>
87
			<setting name="StartupDelay" serializeAs="String">
88
				<value>00:01:00</value>
89
			</setting>
90
		</Pithos.Client.WPF.Properties.Settings>
91
	</userSettings>
92
	<connectionStrings>
93
		<add name="Sqlite_InMemory" providerName="System.Data.SQLite" connectionString="Data Source=:memory:;Version=3;New=True" />
94
	</connectionStrings>
95
	<system.data>
96
		<DbProviderFactories>
97
			<remove invariant="System.Data.SQLite" />
98
			<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
99
		</DbProviderFactories>
100
	</system.data>
101 101

  
102
  <startup useLegacyV2RuntimeActivationPolicy="true">
103
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
104
  </startup>
105
  <applicationSettings>
106
    <Pithos.Client.WPF.Properties.Settings>
107
      <setting name="CloudfilesAuthenticationUrl" serializeAs="String">
108
        <value>https://auth.api.rackspacecloud.com</value>
109
      </setting>
110
      <setting name="PithosLoginUrl" serializeAs="String">
111
        <value>https://pithos.dev.grnet.gr/login</value>
112
      </setting>
113
      <setting name="FeedbackUri" serializeAs="String">
114
        <value>https://pithos.dev.grnet.gr/im/feedback</value>
115
      </setting>
116
      <setting name="ProductionServer" serializeAs="String">
117
        <value>https://plus.pithos.grnet.gr</value>
118
      </setting>
119
      <setting name="DevelopmentServer" serializeAs="String">
120
        <value>https://pithos.dev.grnet.gr</value>
121
      </setting>
122
    </Pithos.Client.WPF.Properties.Settings>
123
  </applicationSettings>
124
  <log4net>
125
    <appender name="TraceAppender" type="log4net.Appender.TraceAppender" >
126
      <layout type="log4net.Layout.PatternLayout">
127
        <conversionPattern value="%logger (%property{myContext}) [%level]- %message%newline" />
128
      </layout>
129
      <filter type="log4net.Filter.LevelRangeFilter">
130
        <levelMin value="INFO" />
131
        <levelMax value="FATAL" />
132
      </filter>
133
    </appender>
134
    	
135
	<appender name="DumpFileAppender" type="log4net.Appender.RollingFileAppender">
136
		<file value="log.txt" />
137
		<appendToFile value="false" />
138
		<rollingStyle value="Size" />
139
		<maxSizeRollBackups value="10" />
140
		<maximumFileSize value="100KB" />
141
		<staticLogFileName value="true" />
142
		<layout type="log4net.Layout.XMLLayout"/>
143
	</appender>
102
	<startup useLegacyV2RuntimeActivationPolicy="true">
103
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
104
	</startup>
105
	<applicationSettings>
106
		<Pithos.Client.WPF.Properties.Settings>
107
			<setting name="CloudfilesAuthenticationUrl" serializeAs="String">
108
				<value>https://auth.api.rackspacecloud.com</value>
109
			</setting>
110
			<setting name="PithosLoginUrl" serializeAs="String">
111
				<value>https://pithos.dev.grnet.gr/login</value>
112
			</setting>
113
			<setting name="FeedbackUri" serializeAs="String">
114
				<value>https://pithos.dev.grnet.gr/im/feedback</value>
115
			</setting>
116
			<setting name="ProductionServer" serializeAs="String">
117
				<value>https://plus.pithos.grnet.gr</value>
118
			</setting>
119
			<setting name="DevelopmentServer" serializeAs="String">
120
				<value>https://pithos.dev.grnet.gr</value>
121
			</setting>
122
		</Pithos.Client.WPF.Properties.Settings>
123
	</applicationSettings>
124
	<log4net>
125
		<appender name="TraceAppender" type="log4net.Appender.TraceAppender" >
126
			<layout type="log4net.Layout.PatternLayout">
127
				<conversionPattern value="%logger (%property{CloudFile}) [%level]- %message%newline" />
128
			</layout>
129
			<filter type="log4net.Filter.LoggerMatchFilter">
130
				<loggerToMatch value="NHibernate" />
131
				<acceptOnMatch value="false" />
132
			</filter>
133
			<filter type="log4net.Filter.LoggerMatchFilter">
134
				<loggerToMatch value="Caliburn" />
135
				<acceptOnMatch value="false" />
136
			</filter>
137
		</appender>
144 138

  
145
	<appender name="OutputDebugStringAppender" type="log4net.Appender.OutputDebugStringAppender" >
146
    <layout type="log4net.Layout.PatternLayout">
147
          <conversionPattern value="%logger (%property{myContext}) [%level]- %message%newline" />
148
    </layout>
149
</appender>
139
		<appender name="DumpFileAppender" type="log4net.Appender.RollingFileAppender">
140
			<file value="log.txt" />
141
			<appendToFile value="false" />
142
			<rollingStyle value="Size" />
143
			<maxSizeRollBackups value="10" />
144
			<maximumFileSize value="100KB" />
145
			<staticLogFileName value="true" />
146
			<layout type="log4net.Layout.XMLLayout"/>
147
		</appender>
150 148

  
151
    <appender name="LossyFileAppender" type="log4net.Appender.BufferingForwardingAppender">
152
      <filter type="log4net.Filter.LevelRangeFilter">
153
        <levelMin value="DEBUG" />
154
        <levelMax value="FATAL" />
155
      </filter>
156
      <bufferSize value="30" />
157
      <lossy value="true"/>
158
      <evaluator type="log4net.Core.LevelEvaluator">
159
        <threshold value="ERROR" />
160
      </evaluator>
161
      <appender-ref ref="DumpFileAppender" />
162
	  
163
    </appender>
149
		<appender name="OutputDebugStringAppender" type="log4net.Appender.OutputDebugStringAppender" >
150
			<layout type="log4net.Layout.PatternLayout">
151
				<conversionPattern value="%logger (%property{Operation}) [%level]- %message%newline" />
152
			</layout>
153
		</appender>
164 154

  
165
    <root>
166
      <level value="DEBUG" />
167
	    <appender-ref ref="LossyFileAppender" />
168
		<appender-ref ref="TraceAppender" />
169
		<appender-ref ref="OutputDebugStringAppender" />
170
	</root>
171
  </log4net>
155
		<appender name="LossyFileAppender" type="log4net.Appender.BufferingForwardingAppender">
156
			<filter type="log4net.Filter.LevelRangeFilter">
157
				<levelMin value="DEBUG" />
158
				<levelMax value="FATAL" />
159
			</filter>
160
			<bufferSize value="30" />
161
			<lossy value="true"/>
162
			<evaluator type="log4net.Core.LevelEvaluator">
163
				<threshold value="ERROR" />
164
			</evaluator>
165
			<appender-ref ref="DumpFileAppender" />
166

  
167
		</appender>
168

  
169
		<logger name="NHibernate" additivity="false">
170
			<level value="WARN"/>
171
			<appender-ref ref="TraceAppender"/>
172
		</logger>
173

  
174
		<logger name="Caliburn" additivity="false">
175
			<level value="WARN"/>
176
			<appender-ref ref="TraceAppender"/>
177
		</logger>
178

  
179
		<root>
180
			<level value="DEBUG" />
181
			<appender-ref ref="LossyFileAppender" />
182
			<appender-ref ref="TraceAppender" />
183
			<appender-ref ref="OutputDebugStringAppender" />
184
		</root>
185
	</log4net>
172 186
</configuration>

Also available in: Unified diff