Mercurial > hg > orthanc-book
changeset 124:cd0be128127d
added info about standard logs
author | amazy |
---|---|
date | Thu, 14 Dec 2017 14:23:11 +0100 |
parents | 9badd112e8ad |
children | 9b4e810f4ecf |
files | Sphinx/source/faq/log.rst |
diffstat | 1 files changed, 28 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/faq/log.rst Thu Nov 30 10:39:09 2017 +0100 +++ b/Sphinx/source/faq/log.rst Thu Dec 14 14:23:11 2017 +0100 @@ -1,10 +1,34 @@ .. _log: -Generating an exploitable log ------------------------------ +Collecing logs +-------------- + +Standard logs +============= + +Everytime the Orthanc service starts, it will generate +a new log file in ``C:\Program Files\Orthanc Server\Logs`` on Windows +and in ``/var/log/orthanc/`` on Linux. + +By default, on Windows, if the Orthanc service fails to start, it will +retry to start 5 times and stop so it does not generate thousands of log files. -For your log to be exploitable by the Orthanc community, you must -generate them with the ``--verbose`` or ``--trace``. If you are using +Log files are named as ``Orthanc.log.YYYYMMDD-hhmmss.ffff`` including +the date/time when Orthanc was started. + +Orthanc is not removing old logs so these log files might accumulate +and consume lot's of space. It's up to you to manage the logs folder +to make sure you don't fill your disk with logs. + + + +Generating an exploitable debug log +=================================== + +By default, Orthanc logs only the `WARNING` and `ERROR` level +logs. For your log to be exploitable by the Orthanc community, you must +generate them with the ``--verbose`` or ``--trace`` to get the `INFO` +and `TRACE` information levels. If you are using Orthanc at the command-line, simply add these flags and redirect the standard outputs to some log file.