Logging
Notice
Notice
Each services are logging activity to their respective containers and are mapped to the local filesystem on the node a given service is running on.
These logs can provide useful insight when troubleshooting an incident on the system.
Each service logs to /var/log/<service>/. Inside the directory, there are different types of logs. Most services logs to STDOUT inside the running container. These output are logged to /var/log/<service>/stdout/current.
A few services like developerportal, client-citizen, client-clinician, uis and qnrui runs a simple web server and only logs access and error logs.
Audit logging for the entire OTH eco-system is stored in the database by the audit service and can only be accessed through the clinician portals admin menu, by a user with administrator rights.
All logs are rotated and compressed daily, with a retention of 7 days.