Re: catalina.LoggerBase class should have public access

2002-05-14 Thread Jeff Larsen

I was whining about this too about a month ago, but I failed
to spark a discussion on this list. So I went to Bugzilla
and entered it as a feature request. Apparently, somebody
agreed with me. If you look at the nightly build source code, 
you will see that LoggerBase is now public and FileLogger is
no longer final. You can now easily subclass FileLogger and
need only override a small number of methods to achieve the 
desired results.

Now it's just a matter of waiting for the next production
quality release (unless you like living on the edge!).

Jeff

- Original Message - 
From: Animesh Chaturvedi - US [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 6:03 PM
Subject: catalina.LoggerBase class should have public access


 
 Hi
 
 I have a requirement of a single log file instead of having the default log
 files created on a daily basis. Since I could not configure Tomcat for this,
 I started writing my own MyFileLogger class. I am extending
 org.apache.catalina.logger.LoggerBase and my class is in my own package. But
 since the LoggerBase class does not have public access, it is not accessible
 to other packages. I cannot extend org.apache.catalina.logger.FileLogger
 class as its a final class and I do not wish to change Tomcat code.
 
 Should not this class have public access ? just like
 org.apache.catalina.valves.RequestFilterValve class has public access, and I
 was able to write my own   Valve for AccessControlList.
 
 
 thanks
 
 Animesh
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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




RE: catalina.LoggerBase class should have public access

2002-05-14 Thread Animesh Chaturvedi - US

Jeff

Thanks for the info.

Animesh

-Original Message-
From: Jeff Larsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 7:59 AM
To: Tomcat Users List
Subject: Re: catalina.LoggerBase class should have public access


I was whining about this too about a month ago, but I failed
to spark a discussion on this list. So I went to Bugzilla
and entered it as a feature request. Apparently, somebody
agreed with me. If you look at the nightly build source code, 
you will see that LoggerBase is now public and FileLogger is
no longer final. You can now easily subclass FileLogger and
need only override a small number of methods to achieve the 
desired results.

Now it's just a matter of waiting for the next production
quality release (unless you like living on the edge!).

Jeff

- Original Message - 
From: Animesh Chaturvedi - US [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 6:03 PM
Subject: catalina.LoggerBase class should have public access


 
 Hi
 
 I have a requirement of a single log file instead of having the default
log
 files created on a daily basis. Since I could not configure Tomcat for
this,
 I started writing my own MyFileLogger class. I am extending
 org.apache.catalina.logger.LoggerBase and my class is in my own package.
But
 since the LoggerBase class does not have public access, it is not
accessible
 to other packages. I cannot extend org.apache.catalina.logger.FileLogger
 class as its a final class and I do not wish to change Tomcat code.
 
 Should not this class have public access ? just like
 org.apache.catalina.valves.RequestFilterValve class has public access, and
I
 was able to write my own   Valve for AccessControlList.
 
 
 thanks
 
 Animesh
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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

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




catalina.LoggerBase class should have public access

2002-05-13 Thread Animesh Chaturvedi - US


Hi

I have a requirement of a single log file instead of having the default log
files created on a daily basis. Since I could not configure Tomcat for this,
I started writing my own MyFileLogger class. I am extending
org.apache.catalina.logger.LoggerBase and my class is in my own package. But
since the LoggerBase class does not have public access, it is not accessible
to other packages. I cannot extend org.apache.catalina.logger.FileLogger
class as its a final class and I do not wish to change Tomcat code.

Should not this class have public access ? just like
org.apache.catalina.valves.RequestFilterValve class has public access, and I
was able to write my own   Valve for AccessControlList.


thanks

Animesh


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