diff --git a/pkg/runner/logger.go b/pkg/runner/logger.go index 5819a50..8464801 100644 --- a/pkg/runner/logger.go +++ b/pkg/runner/logger.go @@ -47,14 +47,7 @@ func WithJobLogger(ctx context.Context, jobName string, secrets map[string]strin formatter.insecureSecrets = insecureSecrets nextColor++ - var logger *logrus.Logger - fieldLogger := common.Logger(ctx) - if fieldLogger != nil { - logger = fieldLogger.(*logrus.Logger) - } - if logger == nil { - logger = logrus.New() - } + logger := logrus.New() logger.SetFormatter(formatter) logger.SetOutput(os.Stdout) logger.SetLevel(logrus.GetLevel())