Yes, you can do it through jmx-console. Through the jmx-console 
(http://server:port/jmx-console), look for the following service:
service=Logging,type=Log4jService 

Use the setLoggerLevel method of this service to set the level of a logger. 
Here's the javadoc of this API:
anonymous wrote : 
  | /**
  |     * Sets the level for a logger of the give name.
  |     *
  |     * Values are trimmed before used.
  |     *
  |     * @jmx:managed-operation
  |     *
  |     * @param name        The name of the logger to change level
  |     * @param levelName   The name of the level to change the logger to.
  |     */
  | public void setLoggerLevel(final String name, final String levelName)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930644#3930644

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930644


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to