totara / totara-docker-dev

A docker setup to create a development environment for Totara Learn
MIT License
49 stars 32 forks source link

Add 'tlog' command for quickly getting logs #186

Closed markmetcalfe closed 3 years ago

markmetcalfe commented 3 years ago

This is really just an alias for running tdocker logs --follow --tail=20 --no-log-prefix (container name) - it just means less typing really :) Note that any argument you specify overrides it - e.g. tlogs php-8.0 --tail=100 will tail 100 lines rather than 20 lines which is the default.