Tuesday, January 8, 2002 05:43 AM
In general, this type of logging is hard to to (keep a 'window' of lot entries).
First, let me highly recommend log4j, which is a logging package that can support something close to what you want. It can be configured to automatically back-up your log files when they reach a certain age or size.
You can find log4j at http://jakarta.apache.org/log4j.