[Bug 42] New: JMX Configurator; LoggerList is not populated

http://bugzilla.qos.ch/show_bug.cgi?id=42 Summary: JMX Configurator; LoggerList is not populated Product: logback-classic Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P1 Component: Other AssignedTo: logback-dev@qos.ch ReportedBy: sdavids@gmx.de Logback 0.9 @@@@ <configuration> <!-- JMX Configurator --> <jmxConfigurator /> <!-- appender to System.out --> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern>%msg%n</pattern> </layout> </appender> <root> <appender-ref ref="STDOUT" /> </root> </configuration> public class Main { public static void main(String[] args) throws InterruptedException { Logger logger = LoggerFactory.getLogger(Main.class); while (true) { logger.info("info"); TimeUnit.SECONDS.sleep(5); } } } run with "-Dcom.sun.management.jmxremote" connect jconsole => LoggerList is "Unavailable" -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=42 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from noreply.sebastien@qos.ch 2007-02-05 16:45 ------- Hello Sebastian, Thanks for your report. My guess is that it comes from JConsole that is not able to call the .toString() method on a list of object, like MX4J does. With MX4J, our configurator just returns a List<Logger> and everything is displayed correctly. I'm going to modify the configurator so that it returns a List<String> instead. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=42 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from noreply.sebastien@qos.ch 2007-02-05 17:00 ------- Modifications done. It now works in jConsole as well as MX4J. I'm closing this bug. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=42 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch