You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a message thrown by the update_hooks. drush_batch_process_finished is only referenced the search_api TaskManager class... but that doesn't seem right since this appears to be causing issues without module (consolidation/site-process#56). Adding print_r to the splunk logger and the array with drush_batch_process_finished does not appear to be bing passed to the logger... so I am not 100% sure what is triggering this. We might need to revisit how data is written to Splunk and potentially not use stdout.
I tried reformatting the SplunkLogger to build the output using the JSON object but that does not seem to work:
Testing Stuff
Enable the `psul_splunk_logger
Add the following update hook to trigger the error (into psul_splunk_logger.install).
<?php/** * @file * Installation functionality for psul_splunk_logger module. */functionpsul_splunk_logger_update_10001() {
// Ensure the media_entity_download module is installed.
\Drupal::service('module_installer')->install(['admin_toolbar_search']);
}
Run ddev drush up to see the error.
Run ddev drush ev "\Drupal::service('update.update_hook_registry')->setInstalledVersion('psul_splunk_logger', 10000);"; ddev drush pm:uninstall admin_toolbar_search to reset the site.
This appears to happen when the logger is enabled and a module is installed.
The text was updated successfully, but these errors were encountered: