Skip to content

Commit

Permalink
Fix logging category.
Browse files Browse the repository at this point in the history
  • Loading branch information
swirtSJW authored Feb 15, 2024
1 parent 2be0fbe commit e7d5dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/content/script-library.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function script_library_sandbox_complete(array &$sandbox, $completed_message) {
$message = t('Processed @element. @completed/@total.', $vars) . PHP_EOL;
// Log the all finished notice.
if ($sandbox['#finished'] === 1) {
Drupal::logger('va_gov_vamc')->log(LogLevel::INFO, $completed_message, $vars);
Drupal::logger('script_library')->log(LogLevel::INFO, $completed_message, $vars);
$logged_message = new FormattableMarkup($completed_message, $vars);
$message = t('Process completed:') . " {$logged_message}" . PHP_EOL;
// Delete the state as it is no longer needed.
Expand Down

0 comments on commit e7d5dd2

Please sign in to comment.