classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Re: PATCH: logfile rotation, native methods


From: Casey Marshall
Subject: [cp-patches] Re: PATCH: logfile rotation, native methods
Date: Sat, 9 Jul 2005 11:24:31 -0700

On Jul 7, 2005, at 11:17 PM, Casey Marshall wrote:

2005-07-07  Casey Marshall  <address@hidden>

    * java/util/logging/FileHandler.java
    (written): new field.
    (logFiles): new field.
    (<init>): initialize the OutputStream last.
    (createFileStream): made non-static; append '.%g' to 'pattern'
    if not included; open existing files if 'append' is set; return
    byte-counting stream; use 'has', not 'String.indexOf'.
    (publish): rotate the file if we go beyond the byte limit; flush
    the stream after publishing each record.
    (rotate): new method.
    (has): new method.
    (ostr): new member class.


Committed. I'll follow up with file locks soon.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]