Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's already a method setDebug()
in maestro_base_engine.class.php
and a private variable $this->_debug
defined in maestro_engine_version1.php
which seems to enable verbose watchdog logging. As far as I can see what's missing is the option to enable/disable debug mode in the admin ui at admin/config/workflow/maestro_configure. I suggest to introduce a new system settings variable maestro_debug_mode_enabled which may be configured through the admin ui.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#3 | maestro-debug-mode-2080111-3.patch | 1.99 KB | larskleiner |
#1 | maestro-debug-mode-2080111-1.patch | 1.62 KB | larskleiner |
Comments
Comment #1
larskleiner CreditAttribution: larskleiner commentedPatch attached.
Comment #2
larskleiner CreditAttribution: larskleiner commentedChanged status to "needs review"
Comment #3
larskleiner CreditAttribution: larskleiner commentedRe-rolled because I got the following notice with patch #1.
Comment #4
_randy CreditAttribution: _randy commentedLooks good too.. will commit.
Comment #5
_randy CreditAttribution: _randy commentedCommitted.