Marc:

You might get some ideas from our LogManager class, new in Expresso (an OSS
web-app development framework). You'll want the latest CVS - we wrap log4j
with a LogManager to do the kinds of things you're describing below, at
least many of them.

Expresso is at http://www.javacorporate.com - click products, then select
Expresso, and the CVS info link on the left gives instructions for
downloading the latest CVS snapshot.

Mike
Jcorporate Ltd

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Marc
> Krisjanous
> Sent: Monday, January 08, 2001 8:57 PM
> To: [EMAIL PROTECTED]
> Subject: Ahh.. The Log manager class!
>
>
> Hi all,
> does anyone know where I can get example code for a file/log manager class
> for a servlet which provides the following:
>
> 1. runs in its own thread and uses the lowest possible priority
> to write to
> the file(s)
>
> 2. writes messages to files
>
> 3.have the ability to buffered messages to multiple files and if
> the buffer
> reaches a predefined high water mark, the thread priority of the
> log manager
> is set to the highest possible level until the messages are written to the
> file.
>
> I have a basic log manager that my WAS Servlets use but I cannot find
> example code that shows me how to add my wish list!
>
> Best Regards
>
> Marc
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to