From 87684a0d92303c7d68edc43feb3b711257ec427c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 30 Aug 2022 10:34:40 +0200 Subject: [PATCH] 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. --- internal/worker/command_exe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/command_exe.go b/internal/worker/command_exe.go index f9693939..8d7fd3a2 100644 --- a/internal/worker/command_exe.go +++ b/internal/worker/command_exe.go @@ -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 {