Logback - Changing logging level from the command line

I need to be able to capture debug logs while the app is running. Today I can do this via jconsole but I would like to do so without launching the GUI. Is it possible to change the logging level for logback during run time from the command line? Thanks in advance, Keith

Would this: http://crawler.archive.org/cmdline-jmxclient/index.html or similar be useful? I presume you are using the JMX capabilities of logback via jconsole, so a command line JMX client should do the trick. ----- Original Message -----
From: "Keith Long" <Keith.Long@air2web.com> To: logback-user@qos.ch Sent: Monday, 20 September, 2010 1:23:24 PM Subject: [logback-user] Logback - Changing logging level from the command line I need to be able to capture debug logs while the app is running. Today I can do this via jconsole but I would like to do so without launching the GUI. Is it possible to change the logging level for logback during run time from the command line?
Thanks in advance,
Keith
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
Keith Long
-
Robert Elliot