Class RolloverFileOutputStream

java.lang.Object
java.io.OutputStream
org.eclipse.jetty.util.RolloverFileOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class RolloverFileOutputStream extends OutputStream
RolloverFileOutputStream.

This output stream puts content in a file that is rolled over every 24 hours. The filename must include the string "yyyy_mm_dd", which is replaced with the actual date when creating and rolling over the file.

Old files are retained for a number of days before being deleted.