Conjur Enterprise - No container logs in Conjur Enterprise AMI
90
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:51 PM
Symptom
In the Conjur Enterprise AMI, the docker system logs (`docker logs conjur-appliance`) do not include the logs for the Conjur Enterprise services and only contain some operating system logs.
Environment
12.0;12.1
- Conjur Enterprise AMI for versions 12.0 through 12.2.
Cause
This is caused by a defect in the AMI for these versions, giving the Conjur Enterprise logging component insufficient permissions to write logs to Docker.
Resolution
There is a workaround for this issue. To fix the Docker logging issue for the Conjur Enterprise AMI:
- Connect to the Conjur Enterprise EC2 instance running the Conjur Enterprise AMI. For example, using SSH.
- Start a shell session in the Conjur Enterprise Docker container with the command:
docker exec -it conjur-appliance bash - Edit the file
/etc/default/syslog-ng. For example, with the command:
nano /etc/default/syslog-ng - In this file, uncomment the line below by removing the
#character at the beginning of the line:
#SYSLOGNG_OPTS="--no-caps" - Restart syslog-ng with the command inside the docker container:
service syslog-ng restart
Repeat these steps for each Conjur Enterprise EC2 instance using the Conjur Enterprise AMI.