Skip to content

Commit 3375b78

Browse files
Fix logging event IDs (#541)
Signed-off-by: Victor Chang <vicchang@nvidia.com> Signed-off-by: Victor Chang <vicchang@nvidia.com> Co-authored-by: Joss Sparkes <joss.sparkes@gmail.com>
1 parent 4a42587 commit 3375b78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/WorkflowManager/Logging/Log.700000.Artifact.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ namespace Monai.Deploy.WorkflowManager.Logging
2121
{
2222
public static partial class Log
2323
{
24-
[LoggerMessage(EventId = 600000, Level = LogLevel.Error, Message = "Artifact Passed data Artifact {artifact}, Path {path}, ArtifactType {artifactType}, Exists {exists}")]
24+
[LoggerMessage(EventId = 700000, Level = LogLevel.Debug, Message = "Artifact Passed data Artifact {artifact}, Path {path}, ArtifactType {artifactType}, Exists {exists}")]
2525
public static partial void LogArtifactPassing(this ILogger logger, Artifact artifact, string path, string artifactType, bool exists);
2626

27-
[LoggerMessage(EventId = 600001, Level = LogLevel.Debug, Message = "Verifying artifact existence on bucket {bucket}: {artifactKey}={artifactValue}.")]
27+
[LoggerMessage(EventId = 700001, Level = LogLevel.Debug, Message = "Verifying artifact existence on bucket {bucket}: {artifactKey}={artifactValue}.")]
2828
public static partial void VerifyArtifactExistence(this ILogger logger, string bucket, string artifactKey, string artifactValue);
2929

30-
[LoggerMessage(EventId = 600002, Level = LogLevel.Debug, Message = "Converting variable to string path: {variableString}={variableString}.")]
30+
[LoggerMessage(EventId = 700002, Level = LogLevel.Debug, Message = "Converting variable to string path: {variableString}={variableString}.")]
3131
public static partial void ConvertingVariableStringToPath(this ILogger logger, string variableString);
3232

33-
[LoggerMessage(EventId = 600003, Level = LogLevel.Debug, Message = "Failed to convert artifact variable to path.")]
33+
[LoggerMessage(EventId = 700003, Level = LogLevel.Debug, Message = "Failed to convert artifact variable to path.")]
3434
public static partial void ConvertArtifactVariablesToPathError(this ILogger logger, Exception ex);
3535

36-
[LoggerMessage(EventId = 600004, Level = LogLevel.Debug, Message = "Mandatory output artefacts for task {taskId} are missing.")]
36+
[LoggerMessage(EventId = 700004, Level = LogLevel.Debug, Message = "Mandatory output artefacts for task {taskId} are missing.")]
3737
public static partial void MandatoryOutputArtefactsMissingForTask(this ILogger logger, string taskId);
3838

39-
[LoggerMessage(EventId = 600005, Level = LogLevel.Error, Message = "The following payload: {payloadId} in workflow instance {workflowInstanceId} workflow revision {workflowRevisionId} for task {taskId} failed to load artifact and was unable to update DB.")]
39+
[LoggerMessage(EventId = 700005, Level = LogLevel.Error, Message = "The following payload: {payloadId} in workflow instance {workflowInstanceId} workflow revision {workflowRevisionId} for task {taskId} failed to load artifact and was unable to update DB.")]
4040
public static partial void LoadArtifactAndDBFailiure(this ILogger logger, string payloadId, string taskId, string workflowInstanceId, string workflowRevisionId);
4141
}
4242
}

0 commit comments

Comments
 (0)