[logback-dev] [Bug 42] New: JMX Configurator; LoggerList is not populated
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Sun Feb 4 17:04:27 CET 2007
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 at qos.ch
ReportedBy: sdavids at 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.
More information about the logback-dev
mailing list