Log File Management
iCDR Log Files
iCDR log files are, by default, stored in the following directories:
Microsoft Windows Operating Systems:
C:\Program Files\SanteSuite\SanteDB\Server
Linux Operating Systems:
/opt/santesuite/santedb/server
Docker:
/var/log/
Administrators can change the location of the log file changing the write location on the Diagnostics Configurationsection and restarting the process.
Log files are stored in a rolling name format santedb_yyyyMMdd.log
and are never purged automatically.
dCDR Log Files
dCDR log files are stored in the following locations:
Microsoft Windows Operating Systems:
dCDR Gateway:
%systemroot%\SysWOW64\config\systemprofile\local\log\
dCDR Applications:
%localappdata%\log
Linux Operating Systems:
dCDR Gateway:
~root/.local/log
dCDR Applications:
~/.local/log
Docker:
/root/.local/log
Log Format
Log files for the dCDR and iCDR have a format as described below:
For example, this log entry indicates an ERROR on 2021-01-05 from the FHIR plugin on thread 7:
Using the ThreadID is helpful when diagnosing issues in a production environment as it allows for the tracking of a client's execution pathway through the solution.
Last updated
Was this helpful?