Skip to content

Logs

Userli

Userli utilizes the Monolog for logging which is configured in config/packages/monolog.yaml.

Logs are written to var/log/text.log and var/log/dev.log when running in the test or dev environment respectively.

The logs are JSON formatted.

Inspecting the logs:

tail -f var/log/dev.log | jq

Docker/Podman

Sometimes it's necessary to inspect the logs of the containers.

Say you want to inspect the logs for the dovecot container:

podman compose logs -f dovecot
docker compose logs -f dovecot