log4jexam: dynamic level change at runtime

$ http -b :8080/loggers
ROOT INFO   INFO
org.apache.catalina.startup.DigesterFactory ERROR   ERROR
org.apache.catalina.util.LifecycleBase ERROR   ERROR
org.apache.coyote.http11.Http11NioProtocol WARN   WARN
org.apache.sshd.common.util.SecurityUtils WARN   WARN
org.apache.tomcat.util.net.NioSelectorPool WARN   WARN
org.eclipse.jetty.util.component.AbstractLifeCycle ERROR   ERROR
org.hibernate.validator.internal.util.Version WARN   WARN

$ http -b :8080/loggers?all
...
$ http -b :8080/loggers?testLog
... # check log
$ http -b PUT :8080/loggers/com.gimslab.log4jexam.log4jexam.pkga/level/DEBUG
ROOT INFO   INFO
com.gimslab.log4jexam.log4jexam.pkga DEBUG   DEBUG
...
http -b PUT :8080/loggers/ROOT/level/OFF
ROOT OFF   OFF
com.gimslab.log4jexam.log4jexam.pkga DEBUG   DEBUG
...
http -b DELETE :8080/loggers/com.gimslab.log4jexam.log4jexam.pkga/level
ROOT OFF   OFF



Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2019-12-15 17:18:56
Processing time 0.0100 sec