Changeset 1470 for trunk/sources/HeuristicLab.Tracing
- Timestamp:
- 03/31/09 15:25:17 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Tracing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tracing/HeuristicLab.Tracing.csproj
r1467 r1470 89 89 </Target> 90 90 --> 91 <PropertyGroup> 92 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 93 set ProjectDir=$(ProjectDir) 94 set SolutionDir=$(SolutionDir) 95 set Outdir=$(Outdir) 96 97 call PreBuildEvent.cmd</PreBuildEvent> 98 </PropertyGroup> 91 99 </Project> -
trunk/sources/HeuristicLab.Tracing/HeuristicLab.log4net.xml
r1467 r1470 1 <log4net> 2 <appender name="DefaultAppender" type="log4net.Appender.RollingFileAppender"> 3 <file value="HeuristicLab.log" /> 1 <log4net> 2 3 <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> 4 <file value="HeuristicLab.log" /> 4 5 <appendToFile value="true" /> 5 6 <rollingStyle value="Size" /> … … 7 8 <maximumFileSize value="100KB" /> 8 9 <staticLogFileName value="true" /> 10 <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> 9 11 <layout type="log4net.Layout.PatternLayout"> 10 <conversionPattern value="%-4timestamp [% thread] %-5level %logger %ndc - %message%newline" />12 <conversionPattern value="%-4timestamp [%appdomain/%thread] %-5level %logger %ndc - %message%newline" /> 11 13 </layout> 12 </appender> 14 </appender> 15 16 <appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" > 17 <bufferSize value="128" /> 18 <lossy value="true" /> 19 <evaluator type="log4net.Core.LevelEvaluator"> 20 <threshold value="WARN"/> 21 </evaluator> 22 <appender-ref ref="RollingFileAppender" /> 23 </appender> 24 13 25 <root> 14 <level value="WARN" /> 15 <appender-ref ref="DefaultAppender" /> 26 <level value="INFO" /> 27 <appender-ref ref="BufferingForwardingAppender" /> 28 <appender-ref ref="RollingFileAppender" /> 16 29 </root> 30 17 31 </log4net> -
trunk/sources/HeuristicLab.Tracing/Logger.cs
r1467 r1470 23 23 XmlConfigurator.ConfigureAndWatch( 24 24 new FileInfo(Settings.Default.log4netConfigFile)); 25 Info(" Logging started and configured");25 Info("logging initialized"); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.