[logback-user] Fwd: Unable to see ch.qos.logback.classic.jmx.Configurator folder within JConsole?
JW
logback at jwhitesolutions.com
Mon Nov 15 01:53:19 CET 2010
Ok,
Lets switch gears. If I wanted to expose logback manually via JMX (instead
of using the <jmxConfigurator />), which class represents the registered
mbean?
Thanks!
---------- Forwarded message ----------
From: Joshua White <logback at jwhitesolutions.com>
Date: Fri, Oct 29, 2010 at 9:07 AM
Subject: Unable to see ch.qos.logback.classic.jmx.Configurator folder within
JConsole?
To: logback-user at qos.ch
Hello,
I am attempting to configure logback to use JMX. I have used the
"<jmxConfigurator />" within my xml file and I see the following in the log:
09:02:16,991 |-INFO in
ch.qos.logback.classic.LoggerContext[mycompany-portal] - Could NOT find
resource [logback-test.xml]
09:02:17,022 |-INFO in
ch.qos.logback.classic.LoggerContext[mycompany-portal] - Found resource
[logback.xml] at
[file:/C:/source/mycompany/mycompany-core-jar/bin/logback.xml]
09:02:17,179 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - Setting
ReconfigureOnChangeFilter scanning period to 15 minutes
09:02:17,179 |-INFO in
ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter at 18661866 - Will scan
for changes in file [C:\source\mycompany\mycompany-core-jar\bin\logback.xml]
every 900 seconds.
09:02:17,179 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - Adding
ReconfigureOnChangeFilter as a turbo filter
09:02:17,179 |-INFO in ch.qos.logback.classic.joran.action.ContextNameAction
- Setting logger context name as [mycompany-portal]
*09:02:17,179 |-INFO in
ch.qos.logback.classic.joran.action.JMXConfiguratorAction - begin*
09:02:17,647 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type [ch.qos.logback.core.FileAppender]
09:02:17,647 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [FILE]
09:02:17,679 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
09:02:17,679 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component
[encoder] on top of the object stack.
09:02:17,757 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File
property is set to [c:/temp/oep/mycompany-portal.log]
09:02:17,757 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
Setting level of logger [com.mycompany] to DEBUG
09:02:17,757 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
Setting additivity of logger [com.mycompany] to true
09:02:17,757 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
Setting level of logger [org.springframework] to INFO
09:02:17,757 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
Setting additivity of logger [org.springframework] to true
09:02:17,757 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction
- Setting level of ROOT logger to INFO
09:02:17,757 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction -
Attaching appender named [FILE] to Logger[ROOT]
09:02:17,757 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - End of
configuration.
When I start JConsole (IBM's version...) I only see two folders. I would
expect to see a folder for "ch.qos.logback.classic.jmx.Configurator". Here
is what I see:
Shouldn't the logback folder be in root with these two folders?
JMImplementation
WebSphere
Here is what I am using:
Logback 0.9.24
Websphere 6.1
Any thoughts or recommendations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20101114/eea79e10/attachment-0001.html>
More information about the Logback-user
mailing list