This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/vendor/drupal/console-en/translations/database.log.poll.yml

15 lines
627 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
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