You can get the logs of your application with
You may also add several params to the
docker-compose logs -f --tail 100 php
It may also be required to get log output when running CLI commands.
By default messages of log levels
warning are also shown on
See also config/common.php
There is also a
runtime/log/console.log, you can access it from a running containerwith
docker-compose exec php tail -n 100 runtime/logs/console.log
Or enter a container with
make bash and run a command there
$ yii migrate $ tail -n 100 runtime/logs/console.log
:information_source: Since this file is written into the container filesystem, it is different for the running application and a one-off
runcontainer. You can set a (host-)volume for
Logs are also available via the backend module Audit, please visit
/audit in your browser.
Help us to improve the documentation, fork this page.