Look for LogWeb it is a servlet that allows configuring log4j. It will either meet your needs or show you how to do what you want to do.
On 2/16/07, Gaurav Arora <[EMAIL PROTECTED]> wrote:
Hi, I have been trying to retrieve all loggers attached to a root log using a servlet that runs at server startup but I haven't been able to do so yet. I tried using the getAllAppenders method, which the manual says is deprecated and the Hierarchy class as well, both don't seem to work. What I am trying to do is, get a list of all loggers and appenders attached to them on server startup and dump them in a more user friendly view. Have I been doing it the wrong way? Is there a better way to do the above? I'm using version 1.2.14 and Tomcat 5.5. Thanks, Gaurav Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]