moved the logger creation to the utils package to make them available to all packages without recreating or passing them
This commit is contained in:
2
main.go
2
main.go
@@ -103,7 +103,7 @@ func main() {
|
||||
|
||||
workflowName = getContainerName(argoFilePath)
|
||||
|
||||
wf_logger = logger.With().Str("argo_name", workflowName).Str("workflow_id", conf.GetConfig().WorkflowID).Str("workflow_execution_id", conf.GetConfig().ExecutionID).Logger()
|
||||
wf_logger := u.GetWFLogger(workflowName)
|
||||
wf_logger.Debug().Msg("Testing argo name")
|
||||
_ = stepMax
|
||||
|
||||
|
||||
Reference in New Issue
Block a user