Use the RollingFileAppender:
using EnterpriseDT.Util.Debug; Logger.ClearAppenders(); Logger.AddAppender(new RollingFileAppender("myfile.log", 5000000, 10));
That gives a max size of 5 MB with 10 log files.