tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53620] New: [juli] delay opening a file until something gets logged
Date Mon, 30 Jul 2012 08:55:29 GMT

          Priority: P2
            Bug ID: 53620
           Summary: [juli] delay opening a file until something gets
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Catalina
           Product: Tomcat 7

Created attachment 29137

had troubles configuring the FileHandler while bootstraping Tomcat, this patch
sums up a few (minor) changes that allows one to setup a FileHandler instance
programatically. the changes are the following :

- delay opening a file until something gets logged (since the code is already
there within publish() to support rolling it kind of made sense to open the
file from publish() instead of the constructor)
- add a constructor where all 'configurable' properties of the handler can be
provided programatically 
- since FileHandler.close() is public API so should be open()

I'm very sorry to have no tests, I've happened to test the desired FileHandler
"behavior" with and is currently contained
within the 1.4.0 release of Trinidad.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message