[logback-user] A way to reconfigure logback-access without restarting tomcat?
Christopher Holt
chris.holt at hcs.us.com
Mon Sep 15 19:43:49 CEST 2014
Hi,
I'm using the LogbackValue to have logback log out the full content of HTTP
requests and responses. I've got this working, and have a filter
(ch.qos.logback.core.filter.EvaluatorFilter) working to filter only the
interesting ones that I'm after.
My question is: is it possible to have the logback-access.xml be scanned
for changes on the fly in the same way that the regular classic logback.xml
is. i.e. scan="true" in the configuration node?
Currently the only way I've been able to update the config in
logback-access.xml is to stop and restart tomcat. Updating the file and
redeploying the web-app do not seem to re-read the config.
I also looked in with jconsole after finding 'JMXConfigurator', but the
entry under Valves for LogbackValve didn't have any operations that seemed
to do this.
Thanks,
--
Chris Holt
Director of Development
Healthcare Control Systems
(877)877-8795 ext 115
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140915/0ea5dc81/attachment.html>
More information about the Logback-user
mailing list