Skip to main content

Logs

mID Provider(IAM) platform is used to enable the following experiences.

Turn ON/OFF Logging​

The configuration property can be found in default

cd /opt/kobiliam/docker-compose.yml

To turn the logs OFF

DEBUG=false

To turn the logs ON

DEBUG=true

Note: "Light Restart" need to be executed.

Storing and Analysing Logs via Portainer​

Using Portainer you can access each container individual logs and analyse it on the fly. Portainer will save the logs for a period of 4 Days.

Analysing via Command Line​

You can analyse logs via docker directly

docker logs [OPTIONS] CONTAINER

Note: For more details refer https://docs.docker.com/engine/reference/commandline/logs/

Storing logs out of machine​

When you need logs to be stored for a longer period, external docker logging tools have to be used. It is out of scope for this documentation.