I am using Log4net for a while now and it\'s an amazing logging framework, especially when hooked into Castle.Windsor. However...
I usually use the rolling file app
The FileAppender class does not have the MaxFileSize/MaximumFileSize properties. You only get those if you use a RollingFileAppender. Here's an example that will limit your file to a fixed maximum size, with no backups (set maxSizeRollBackups to 0). Note that when the file reaches its max size, it truncates (basically deletes all existing logging and starts over):