hi,

jboss is doing that, setup JBoss locally (unzip, goto /bin and run.sh or run.bat) then go to http://localhost:8080/jmx-console

you will see Log4J between the services, click on the mbean and you will find some parameters such as the file to use (log4j.xml) you could extend these features yourself of course, by loading and displaying the log file yourself the user could edit it to change any value as desired(if you are using the HTTP adapter I think you will need to customize it a little to be able to display text in a textarea instead of a textfield, you can write your own jmx taglib or find one you like on the net)

I did it once for the previous company I was working for but it never got to a point where I really liked it - however, the possibilities with JMX truly are endless

anyway, good luck






From: <[EMAIL PROTECTED]>
Reply-To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Log4J and JMX
Date: Thu, 20 Mar 2003 09:13:10 +0200

hi all,
has anyone ever used Log4j along with JMX, to customize the logging without
restarting the web server?


br
    marco


_________________________________________________________________



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



Reply via email to