DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37078>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37078 Summary: JULI, Remote, JMX Product: Tomcat 5 Version: Unknown Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I'm not sure if this is a known bug, a misconfiguration on my part or a "feature". I use java.util.logging. I want to be able to change the Logger levels remotely via JMX (JConsole). As it seems one cannot use JULI and use the LoggingMXBean successfully at the same time. One can either set the Logger level remotely but not the Handler level (without JULI) or one can set the Handler level but not the Logger level remotely (with JULI). To clarify: I do *not* want to change the handler levels remotely -- just the Logger levels. Example: Set Handler to FINE at deploy time and tune Logger level remotely via JMX at runtime. Use the attached files for the steps below. @@ Without JULI - can set Logger level but not Handler level @@ Start Tomcat 5.5.12 with: "-server -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8081 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" Open your browser and invoke the servlet; it's output: Manager: null Remote: true Manager Class: class java.util.logging.LogManager Logger through manager: true Logger through bean: true Logger level: null Run CommandLineManagementConsole (or use JConsole and check if LoggerNames contains "de.LogTestServlet"); it's output: Logger through remote connection: true @@ with JULI - can set Handler level but not Logger level @ Start Tomcat 5.5.12 with: "-server -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8081 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" Open your browser and invoke the servlet; it's output: Manager: org.apache.juli.ClassLoaderLogManager Remote: true Manager Class: class org.apache.juli.ClassLoaderLogManager Logger through manager: true Logger through bean: true Logger level: FINE Run CommandLineManagementConsole (or use JConsole and check if LoggerNames contains "de.LogTestServlet"); it's output: Logger through remote connection: false -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]