Orthanc Explorer 2 - error logs upon redirection to new UI

In orthancteam/orthanc:25.6.3 docker image (and all later versions), if I request the root URL like so:

curl -u a:a localhost:8042/ -vvv

then we are redirected to the “Orthanc Explorer 2” UI with a 307 Temporary Redirect.
This is normal, because the default UI was changed starting with that release.
However, Orthanc seems to log the request headers on ERROR level when this redirect happens:

W0904 11:32:51.230602      HOUSEKEEPER housekeeper:/Plugin.cpp:678] Housekeeper: everything has been processed already !
E0904 16:49:44.643867           HTTP-7 PluginsManager.cpp:154] accept : */*
E0904 16:49:44.643892           HTTP-7 PluginsManager.cpp:154] authorization : Basic YTph
E0904 16:49:44.643898           HTTP-7 PluginsManager.cpp:154] host : localhost:8042
E0904 16:49:44.643902           HTTP-7 PluginsManager.cpp:154] user-agent : curl/8.5.0

That shouldn’t happen for many reasons (makes reading logs unpleasant, trips up monitoring, logs sensitive data like cookies and basic auth creds).
The expected behavior would be a smooth redirect without any errors in the logs.

If I request the new UI directly then no logging happens:

curl -u a:a localhost:8042/ui/app -vvv

For the time being I turned it off like so:

"OrthancExplorer2" : {
    "IsDefaultOrthancUI": false
}

Please fix it in an upcoming release if it’s not a big deal.
Thank you!

Hi,

Thanks for notifying us. This is now fixed.

Best,

Alain

1 Like

That was fast :open_mouth:
Thank you!