parent
7cc668707b
commit
64b8d2afa4
2 changed files with 4 additions and 4 deletions
|
@ -61,9 +61,9 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
||||||
rawLogger := common.Logger(ctx).WithField("raw_output", true)
|
rawLogger := common.Logger(ctx).WithField("raw_output", true)
|
||||||
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
|
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
|
||||||
if rc.Config.LogOutput {
|
if rc.Config.LogOutput {
|
||||||
rawLogger.Infof(s)
|
rawLogger.Infof("%s", s)
|
||||||
} else {
|
} else {
|
||||||
rawLogger.Debugf(s)
|
rawLogger.Debugf("%s", s)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
|
@ -141,9 +141,9 @@ func (sc *StepContext) newStepContainer(ctx context.Context, image string, cmd [
|
||||||
rawLogger := common.Logger(ctx).WithField("raw_output", true)
|
rawLogger := common.Logger(ctx).WithField("raw_output", true)
|
||||||
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
|
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
|
||||||
if rc.Config.LogOutput {
|
if rc.Config.LogOutput {
|
||||||
rawLogger.Infof(s)
|
rawLogger.Infof("%s", s)
|
||||||
} else {
|
} else {
|
||||||
rawLogger.Debugf(s)
|
rawLogger.Debugf("%s", s)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue