I have not used logback.
Could JMXConfigurator be an option ?
http://logback.qos.ch/manual/jmxConfig.html
Using the implementation of JavaBean, you can call "configureLogBack()" which
will internally use JMX to configure the log-back.
Also, in order to represent the logBack file, your JavaBean might have to be
singleton. So, you can have your own implementation of ObjectFactory instead
of
"org.glassfish.resources.custom.factory.JavaBeanFactory" as the latter will
return new instance upon each custom-resource lookup.
Your implementation of ObjectFactory can return a singleton JavaBean which
represents the logback configuration which can also have the capability to
configure logback using JMXConfigurator.
--
[Message sent by forum member 'jr158900']
View Post: http://forums.java.net/node/790505