This project is not covered by Drupal’s security advisory policy.
This module is a pre-release and is being actively developed
Drush LoggerLogs all Drush commands to Drupal's watchdog system.
Requirements
- Drupal 9, 10, or 11
- Drush 11 or 12
Installation
-
Install the module via Composer:
composer require drupal/drush_logger -
Enable the module:
drush en drush_logger
Usage
Once enabled, the module will automatically log all Drush commands to the watchdog system.
You can view the logs in the following ways:
- Through the Drupal admin UI:
/admin/reports/dblog - Using Drush:
drush watchdog:show --type=drush_logger
Features
- Logs command name, arguments, and options
- Logs command errors with error details
- Logs bootstrap events
Development
- Tests can be run with:
./vendor/bin/phpunit web/modules/custom/drush_logger
Project information
- Project categories: Administration tools
- Created by skyriter on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
