Posted By:
Christopher_Schultz
Posted On:
Thursday, May 24, 2001 06:54 AM
Check out the method
java.io.File.length(). I think this will do what you want.
Alternatively, you could count the number of bytes that you write out to the log file as it's being written, and when it hits your maximum, create a new one.
-chris