At 00:09 04.06.2001 -0700, you wrote:
>Ceki Gülcü wrote:
>>  
>> Partially. Nested appenders are closed first, followed by *all* appenders.
>> 
>
>[snip]
>
>> 
>> Does that make better sense? Ceki
>> 
>
>Yup, I see it now, I should have kept reading. Sorry about the
>misinformation.
>
>So, back to the original problem, he shouldn't have any problems
>overriding the close method, right?
>
>Mike Papper: Why doesn't overriding the close method work?

Overriding the close method in RollingFileAppender.java should work. 

For example:

  public
  synchronized
  void close() {
    if(this.closed)
      return;
    if(fileName != null) {
        this.rollOver();
    }
    super.close();      
  }


I have not tested this and the code might not even compile... Ceki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to