- <startup useLegacyV2RuntimeActivationPolicy="true">
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
- </startup>
- <applicationSettings>
- <Pithos.Client.WPF.Properties.Settings>
- <setting name="PithosSite" serializeAs="String">
- <value>http://pithos.dev.grnet.gr</value>
- </setting>
- <setting name="PithosAuthenticationUrl" serializeAs="String">
- <value>https://pithos.dev.grnet.gr</value>
- </setting>
- <setting name="CloudfilesAuthenticationUrl" serializeAs="String">
- <value>https://auth.api.rackspacecloud.com</value>
- </setting>
- <setting name="PithosLoginUrl" serializeAs="String">
- <value>http://pithos.dev.grnet.gr/im/login</value>
- </setting>
- <setting name="FeedbackUri" serializeAs="String">
- <value>http://pithos.dev.grnet.gr/feedback.html</value>
- </setting>
- </Pithos.Client.WPF.Properties.Settings>
- </applicationSettings>
- <log4net>
- <appender name="TraceAppender" type="log4net.Appender.TraceAppender" >
- <layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%logger (%property{myContext}) [%level]- %message%newline" />
- </layout>
- <filter type="log4net.Filter.LevelRangeFilter">
- <levelMin value="DEBUG" />
- <levelMax value="FATAL" />
- <acceptOnMatch value="false" />
- </filter>
- <filter type="log4net.Filter.LoggerMatchFilter">
- <loggerToMatch value="NHibernate" />
- <acceptOnMatch value="false" />
- </filter>
- <filter type="log4net.Filter.LoggerMatchFilter">
- <loggerToMatch value="Caliburn" />
- <acceptOnMatch value="false" />
- </filter>
- </appender>
- <root>
- <level value="DEBUG" />
- <appender-ref ref="TraceAppender" />
- </root>
- </log4net>
+ <startup useLegacyV2RuntimeActivationPolicy="true">
+ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
+ </startup>
+ <applicationSettings>
+ <Pithos.Client.WPF.Properties.Settings>
+ <setting name="CloudfilesAuthenticationUrl" serializeAs="String">
+ <value>https://auth.api.rackspacecloud.com</value>
+ </setting>
+ <setting name="PithosLoginUrl" serializeAs="String">
+ <value>https://pithos.dev.grnet.gr/login</value>
+ </setting>
+ <setting name="FeedbackUri" serializeAs="String">
+ <value>https://pithos.dev.grnet.gr/im/feedback</value>
+ </setting>
+ <setting name="ProductionServer" serializeAs="String">
+ <value>https://plus.pithos.grnet.gr</value>
+ </setting>
+ <setting name="DevelopmentServer" serializeAs="String">
+ <value>https://pithos.dev.grnet.gr</value>
+ </setting>
+ <setting name="UpdateUrl" serializeAs="String">
+ <value>https://raw.github.com/pkanavos/PithosUpdateTest/master/versioninfo.xml</value>
+ </setting>
+ <setting name="FileIdleTimeout" serializeAs="String">
+ <value>00:00:10</value>
+ </setting>
+ <setting name="UpdateForceCheck" serializeAs="String">
+ <value>True</value>
+ </setting>
+ </Pithos.Client.WPF.Properties.Settings>
+ </applicationSettings>
+ <log4net>
+ <appender name="TraceAppender" type="log4net.Appender.TraceAppender" >
+ <layout type="log4net.Layout.PatternLayout">
+ <conversionPattern value="%logger (%property{CloudFile}) [%level]- %message%newline" />
+ </layout>
+ <filter type="log4net.Filter.LoggerMatchFilter">
+ <loggerToMatch value="NHibernate" />
+ <acceptOnMatch value="false" />
+ </filter>
+ <filter type="log4net.Filter.LoggerMatchFilter">
+ <loggerToMatch value="Caliburn" />
+ <acceptOnMatch value="false" />
+ </filter>
+ </appender>
+
+ <appender name="DumpFileAppender" type="log4net.Appender.RollingFileAppender">
+ <file value="log.txt" />
+ <appendToFile value="false" />
+ <rollingStyle value="Size" />
+ <maxSizeRollBackups value="10" />
+ <maximumFileSize value="100KB" />
+ <staticLogFileName value="true" />
+ <layout type="log4net.Layout.XMLLayout"/>
+ </appender>
+
+ <appender name="DebugFileAppender" type="log4net.Appender.RollingFileAppender">
+ <file value="debuglog.xml" />
+ <appendToFile value="true" />
+ <rollingStyle value="Size" />
+ <maxSizeRollBackups value="10" />
+ <maximumFileSize value="2MB" />
+ <staticLogFileName value="true" />
+ <layout type="log4net.Layout.XMLLayout"/>
+ </appender>
+
+ <appender name="OutputDebugStringAppender" type="log4net.Appender.OutputDebugStringAppender" >
+ <layout type="log4net.Layout.PatternLayout">
+ <conversionPattern value="%logger (%property{Operation}) [%level]- %message%newline" />
+ </layout>
+ </appender>
+
+ <appender name="LossyFileAppender" type="log4net.Appender.BufferingForwardingAppender">
+ <filter type="log4net.Filter.LevelRangeFilter">
+ <levelMin value="DEBUG" />
+ <levelMax value="FATAL" />
+ </filter>
+ <bufferSize value="30" />
+ <lossy value="true"/>
+ <evaluator type="log4net.Core.LevelEvaluator">
+ <threshold value="ERROR" />
+ </evaluator>
+ <appender-ref ref="DumpFileAppender" />
+ </appender>
+
+<!--
+ <appender name="LossySmtpAppender" type="log4net.Appender.SmtpAppender">
+ <to value="pkanavos@gmail.com" />
+ <from value="pkpithos@gmail.com" />
+ <subject value="Some subject" />
+ <smtpHost value="smtp.gmail.com" />
+ <authentication value="Basic" />
+ <port value="587" />
+ <bufferSize value="30" />
+ <EnableSsl value="true"/>
+ <lossy value="true" />
+ <evaluator type="log4net.Core.LevelEvaluator">
+ <threshold value="ERROR"/>
+ </evaluator>
+ <layout type="log4net.Layout.PatternLayout">
+ <conversionPattern value="%newline%date [%thread] %-5level %logger [%property{Operation}] - %message%newline%newline%newline" />
+ </layout>
+ </appender>
+-->
+
+ <logger name="NHibernate" additivity="false">
+ <level value="WARN"/>
+ <appender-ref ref="TraceAppender"/>
+ </logger>
+
+
+ <logger name="Caliburn" additivity="false">
+ <level value="DEBUG"/>
+ <appender-ref ref="TraceAppender"/>
+ </logger>
+
+ <logger name="Pithos" additivity="false">
+ <level value="DEBUG"/>
+ <appender-ref ref="TraceAppender"/>
+ </logger>
+
+ <root>
+ <level value="DEBUG" />
+ <appender-ref ref="DebugFileAppender" />
+ <appender-ref ref="LossyFileAppender" />
+ <!--
+ <appender-ref ref="LossySmtpAppender" />
+-->
+ <appender-ref ref="TraceAppender" />
+ <appender-ref ref="OutputDebugStringAppender" />
+ </root>
+ </log4net>