Skip to content

Commit

Permalink
extra logging
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Dec 1, 2023
1 parent d6920d7 commit 1b4851d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WorkflowManager/Logging/Log.200000.Workflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,8 @@ public static partial class Log

[LoggerMessage(EventId = 210007, Level = LogLevel.Information, Message = "Exporting to MIG task Id {taskid}, export destination {destination} number of files {fileCount} Mig data plugins {plugins}.")]
public static partial void LogMigExport(this ILogger logger, string taskid, string destination, int fileCount, string plugins);

[LoggerMessage(EventId = 200018, Level = LogLevel.Error, Message = "ExportList or Artifacts are empty! workflowInstanceId {workflowInstanceId} TaskId {taskId}")]

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / task-manager-integration-tests

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / unit-tests-and-codecov

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / unit-tests-and-codecov

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / scan

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / workflow-executor-integration-tests

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / workflow-executor-integration-tests

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / analyze

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / docs

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / sonarscanner

Multiple logging methods are using event id 200018 in class Log

Check warning on line 112 in src/WorkflowManager/Logging/Log.200000.Workflow.cs

View workflow job for this annotation

GitHub Actions / docs

Multiple logging methods are using event id 200018 in class Log
public static partial void ExportListOrArtifactsAreEmpty(this ILogger logger, string taskId, string workflowInstanceId);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ private async Task HandleHl7ExportAsync(WorkflowRevision workflow, WorkflowInsta

if (exportList is null || artifactValues is null)
{
_logger.ExportListOrArtifactsAreEmpty(task.TaskId, workflowInstance.Id);
return;
}

Expand Down

0 comments on commit 1b4851d

Please sign in to comment.