log operations in debug. Precursor to more readable operation logging at the cue layer
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
parent
ca6930bd02
commit
d3f3799976
@ -191,6 +191,14 @@ func (p *Pipeline) doOp(ctx context.Context, op *compiler.Value, st llb.State) (
|
||||
if err != nil {
|
||||
return st, err
|
||||
}
|
||||
// FIXME: make this more readable then promote to INFO
|
||||
// we need a readable trace of what operations are executed.
|
||||
log.
|
||||
Ctx(ctx).
|
||||
Debug().
|
||||
Str("pipeline", p.name).
|
||||
Str("do", do).
|
||||
Msg("executing operation")
|
||||
switch do {
|
||||
case "copy":
|
||||
return p.Copy(ctx, op, st)
|
||||
|
Reference in New Issue
Block a user