# HG changeset patch # User Alain Mazy # Date 1705651477 -3600 # Node ID f263cd65a754e1409a86fb673194d5c31642348d # Parent fcfd53aa7446ca6369485e86960c1a62813f38a4 docker logs diff -r fcfd53aa7446 -r f263cd65a754 Sphinx/source/faq/log.rst --- a/Sphinx/source/faq/log.rst Thu Jan 11 09:02:40 2024 +0100 +++ b/Sphinx/source/faq/log.rst Fri Jan 19 09:04:37 2024 +0100 @@ -106,7 +106,14 @@ Under Docker ^^^^^^^^^^^^ -The command-line to be used is:: +With ``osimis/orthanc`` images, simply define the ``VERBOSE_ENABLED`` environment +variable to ``true`` when starting your container and then, run this command to +retrieve the logs in a file:: + + $ sudo docker logs your_container_name &> /tmp/orthanc.log + + +With ``jodogne/orthanc`` images, use this command line:: $ sudo docker run -a stderr -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc --verbose /etc/orthanc > Orthanc.log 2>&1