log-level tool not available

New to Orthanc. I installed on Ubuntu 20.04 and have been having a few issues when sending long (90min) studies containing many fMRI’s. Many sequences will transfer then it will fail mid-way through. I have been trying to change the log level to trace-dicom and verbose; however, when I run “curl -X PUT http://localhost:8042/tools/log-level -d “verbose”” I get an http error not found. When I explore the localhost under tools I do not have log-level, log-level-dicom, etc. Anyone know what is wrong?

For changing from the CLI using curl, you might need to use something like this, depending upon you BASIC AUTH settings and certificates:

e.g. The -k option, curl manual page: https://man7.org/linux/man-pages/man1/curl.1.html

http or https depending upon whether or not you are using an SSL of some type.

curl -k -H “Authorization: Basic xxxx” -X PUT https://localhost:8042/tools/log-level -d “verbose”

or maybe also:

curl -k -X PUT https://user:pass@localhost:8042/tools/log-level -d “verbose”

Also, if you use the Explorer 2 interface for Orthanc, there is an option there under the “Settings” menu in the sidebar to change the log level via the GUI there.

See: https://book.orthanc-server.com/plugins/orthanc-explorer-2.html?highlight=explorer

If it is failing part way through, having the log will help.

There are other suggestions here:

https://book.orthanc-server.com/users/support.html?highlight=asking%20help

Stephen D. Scotti, M.D.

Hello,

In Ubuntu 20.04 (codename “focal”), the official package comes with Orthanc 1.5.8:
https://packages.ubuntu.com/focal/orthanc

But, the “/tools/log-level” URI was added in Orthanc 1.6.0, as can be seen in the NEWS file:
https://hg.orthanc-server.com/orthanc/file/default/NEWS

So, you’ll have to upgrade Orthanc, either by compiling from source, or by using my unofficial Debian repository with the LSB (Linux Standard Base) binaries:
https://book.orthanc-server.com/users/cookbook.html#obtaining-binaries

Regards,
Sébastien-