jmxConfigurator.objectName property replacement

Hi, I'm trying this flag in logback.xml: '<jmxConfigurator objectName="user:type=ngp,name=logging,instance=${com.sun.aas.instanceName},context=DEM" />' But the instance in jconsole is '${com.sun.aas.instanceName}' and not my cluster's name. How can I get around this? Regards, Nico

Hello, which version of logback do you use? If it occurres since 1.0.0. take a look at:
Yours, Dieter Mueller Am 13.03.2012 10:18, schrieb Nico Serfontein:
Hi, I'm trying this flag in logback.xml: '<jmxConfigurator objectName="user:type=ngp,name=logging,instance=${com.sun.aas.instanceName},context=DEM" />' But the instance in jconsole is '${com.sun.aas.instanceName}' and not my cluster's name. How can I get around this? Regards, Nico _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

Hi, I'm using 1.0.0 and my problem is not the same as one below. When I have a property <property scope="context" name="INSANCE_NAME" value="testcluster" /> and a <jmxConfigurator objectName="user:type=ngp,name=logging,instance=${INSTANCE_NAME},context=DEM" /> I will get a "${INSTANCE_NAME}" in jconsole and not "testcluster" (not even "INSTANCE_NAME_IS_UNDEFINED") Please find screenshot attached. Regards, Nico On 2012/03/14 09:03 AM, D.M. wrote:
Hello,
which version of logback do you use?
If it occurres since 1.0.0. take a look at:
http://jira.qos.ch/browse/LBCLASSIC-312 Yours, Dieter Mueller
Am 13.03.2012 10:18, schrieb Nico Serfontein:
Hi, I'm trying this flag in logback.xml: '<jmxConfigurator objectName="user:type=ngp,name=logging,instance=${com.sun.aas.instanceName},context=DEM" />' But the instance in jconsole is '${com.sun.aas.instanceName}' and not my cluster's name. How can I get around this? Regards, Nico _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
D.M.
-
Nico Serfontein