Worker: change "running command" to "running Flamenco command" in log
There are Flamenco "commands" and CLI "commands", and it's nice to be explicit about which is which. I'm sure this is needed in some other areas as well.
This commit is contained in:
parent
afdbbcc1d8
commit
87684a0d92
@ -96,7 +96,7 @@ func NewCommandExecutor(cli CommandLineRunner, listener CommandListener, timeSer
|
||||
|
||||
func (ce *CommandExecutor) Run(ctx context.Context, taskID string, cmd api.Command) error {
|
||||
logger := log.With().Str("task", string(taskID)).Str("command", cmd.Name).Logger()
|
||||
logger.Info().Interface("parameters", cmd.Parameters).Msg("running command")
|
||||
logger.Info().Interface("parameters", cmd.Parameters).Msg("running Flamenco command")
|
||||
|
||||
runner, ok := ce.registry[cmd.Name]
|
||||
if !ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user