I initially installed Orthanc via apt which starts an older version as a service. I am not seeing anything in /etc/logrotate.d related to Orthanc. Am I missing something? I seem to have very old logs.
I am now using a more recent version of Orthanc which I have tied it into the /etc/init.d script from apt.
The Debian package doesn’t provide support for logrotate.
On each start, Orthanc will create a new timestamped log file in folder “/var/log/orthanc/”.
It is up to you to deal with those logs. Feel free to contribute to the Debian package if you want support for logrotate.
Merci. Looking at /var/log/orthanc and other posts it appears that a new log file is created when the service starts. Is that the only time?
A new log file would also be generated if the Orthanc server is restarted through the REST API:
$ curl http://localhost:8042/tools/reset -d ‘’