event_log.module blocks execution when using CLI. There are some instances where logging may be required when executing cron or drush commands. The ability to enable execution using a variable would be useful.

Comments

kducharm created an issue. See original summary.

kducharm’s picture

Status: Active » Needs review
StatusFileSize
new456 bytes

Created patch that allows use of event_log_enable_cli variable to enable execution

kducharm’s picture

StatusFileSize
new446 bytes

Updated patch for error with drupal_is_cli() check

pixlkat’s picture

Status: Needs review » Reviewed & tested by the community

I've tested the patch in #3 and this works to allow drush execution of event logging during a drush command. The code looks good.