Orthanc Docker startup with category logging

I know it is possible to start orthanc with the official docker container with verbose logging. Is it possible to start it with --verbose-plugins or similar enabled? From the look of the docker-entry point.sh any extra args will cause an error, so I think this means we can’t see the cmd: property in docker-compose.yml

Thanks for your help!

James

Answering my own question here. I was able to do this using a Lua plugin with the Initialize() hook. The snippet is

function Initialize()
  -- enable verbose plugin logging on startup
  RestApiPut("/tools/log-level-plugins", "verbose")
  print("Orthanc plugin log level set to verbose")
end
2 Likes