www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Using glog's design for Phobos?

simendsjo Wrote:

 Kagamin wrote:
 Andrei Alexandrescu Wrote:
 of << etc., but the spirit will be similar. What do you think?

What bugs me most in log4net - it doesn't delete old logs that can take up to gigabytes.

Tried RollingFileAppender?

Hmm... now it renames old logs with date pattern leading to the same issue :-/ <appender name="OneLogFile" type="log4net.Appender.RollingFileAppender"> <File type="log4net.Util.PatternString" value="C:\Temp\my.log" /> <AppendToFile value="false" /> <StaticLogFileName value="true" /> <MaxSizeRollBackups value="10" /> <MaximumFileSize value="20MB" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date - %message" /> </layout> </appender>
Sep 16 2010