Size of Flat File used for Logging

Topics: Logging Application Block
Oct 24, 2007 at 11:54 AM

We are using a Flat Text File for Logging. The Size of the Web site on the production web server has gone up to 1.8 MB. The Logging Application block does not generate a seperate Log file for each day. Instead it just appends to the existing Log file. How can we change this so that it creates a new Log file for each day ?
Oct 24, 2007 at 5:56 PM
On the expectation that you are using EL3.0 or higher that has a "Rolling Flat File Trace Listener". This is a different listener from "FlatFile TraceListener". This has the capability to roll by a pre-determined time period, and/or size.

I think you just need to change your log listener to be the Rolling flat file.