diff --git a/api/api.go b/api/api.go index c15be6e2..6124256d 100644 --- a/api/api.go +++ b/api/api.go @@ -155,7 +155,7 @@ func maybeRunTaskInBackground(c *gin.Context, name string, resources []string, p // Run this task in background if configured globally or per-request background := truthy(c.DefaultQuery("_async", strconv.FormatBool(context.Config().AsyncAPI))) if background { - log.Info().Msg("Executing task asynchronously") + log.Debug().Msg("Executing task asynchronously") task, conflictErr := runTaskInBackground(name, resources, proc) if conflictErr != nil { AbortWithJSONError(c, 409, conflictErr) @@ -163,7 +163,7 @@ func maybeRunTaskInBackground(c *gin.Context, name string, resources []string, p } c.JSON(202, task) } else { - log.Info().Msg("Executing task synchronously") + log.Debug().Msg("Executing task synchronously") out := context.Progress() detail := task.Detail{} retValue, err := proc(out, &detail)