Logs

If you run into issues with Security Compliance Management, you can access the relevant log files. Security Compliance Management uses the journald logging driver for logging.

To view logs in Security Compliance Management, use journalctl. For example, to view all of the logs from the comply-scarpy container you would use:

sudo journalctl CONTAINER_NAME=comply_scarpy

You can use filters to limit the number, format, time period, etc., from your results. For example, to retrieve the logs for comply-scarpy since 18 June 2024, you would use:

sudo journalctl --since "2024-06-18" CONTAINER_NAME=comply-scarpy