This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/database.log.poll.yml
2018-11-23 12:29:20 +00:00

15 lines
627 B
YAML

description: 'Poll the watchdog and print new log entries every x seconds'
arguments:
duration: 'Duration in seconds which to sleep between database reads'
messages:
warning: |
Do not use in production environments
As this script blocks you are advised to only run it on vm's with multiple cores for performance reasons
Stop this polling mechanism before you clean/truncate the watchdog table!
Quit with ^C
examples:
- description: 'Print the log entries on screen every x seconds'
execution: |
drupal database:log:poll \
100