I am currently running the lastest docker image of Orthanc with all the plugins.
I can see the logs from docker with this: docker logs -f orthanc
Is there a way to make the application output more verbose logging?
I want to see if my lua scripts are executing, amongst other things.
I have decided to git clone the githib repo and modify the ENTRYPOINT in the Dockerfile so that it has the --verbose flag.
Upon building the Dockerfile, I saw errors during the build: http://i.imgur.com/hcFuRmQ.png
I will check to see if it runs properly.
The build of the Dockerfile worked great, and the error in the screenshot seemed to not cause any issues.
I am now seeing verbose orthanc logging in the docker logs.
Here is a copy of the Dockerfile:
Instead of recompiling the full container, you can simply add “–verbose” at the end of the Docker command-line:
sudo docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc --verbose
The trailing options are given to the entrypoint.
I have just added an additional comment in the documentation of the OrthancDocker repository to hopefully make things clearer:
https://github.com/jodogne/OrthancDocker/commit/0c90c3a3c750e6b6db7929c6496c45511408d95f
Regards,
Sébastien-
Wonderful! Thanks for that, very useful!