# HG changeset patch # User Sebastien Jodogne # Date 1585809620 -7200 # Node ID 8f7e9ebf7c96e6857da18c985a4ae8a49e77077e # Parent 181b02cea7ab2e8de07d5710c13925f1af22bec4# Parent 6979ebaae833d9a568a8de55b6604a19d6ff0499 merge diff -r 181b02cea7ab -r 8f7e9ebf7c96 Sphinx/source/faq/log.rst --- a/Sphinx/source/faq/log.rst Thu Apr 02 08:39:41 2020 +0200 +++ b/Sphinx/source/faq/log.rst Thu Apr 02 08:40:20 2020 +0200 @@ -88,3 +88,13 @@ The command-line to be used is:: $ sudo docker run -a stderr -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc --verbose /etc/orthanc > Orthanc.log 2>&1 + +Change the log level while Orthanc is running +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Starting from Orthanc 1.6.0, you can also change the log level while Orthanc is running through the Rest API:: + + $ curl -X PUT http://localhost:8042/tools/log-level -d "verbose" + $ curl -X PUT http://localhost:8042/tools/log-level -d "trace" + $ curl -X PUT http://localhost:8042/tools/log-level -d "default" +