Skip to content

Commit

Permalink
chore: switch a couple of log lines to debug (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas authored Sep 26, 2024
1 parent 6ea0075 commit efddff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (r *DeploymentProvisioner) handleSchemaChange(ctx context.Context, msg *ftl
logger := log.FromContext(ctx)
logger = logger.Module(msg.ModuleName)
ctx = log.ContextWithLogger(ctx, logger)
logger.Infof("Handling schema change for %s", msg.DeploymentKey)
logger.Debugf("Handling schema change for %s", msg.DeploymentKey)
deploymentClient := r.Client.AppsV1().Deployments(r.Namespace)
deployment, err := deploymentClient.Get(ctx, msg.DeploymentKey, v1.GetOptions{})
deploymentExists := true
Expand Down
2 changes: 1 addition & 1 deletion backend/controller/scaling/localscaling/local_scaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (l *localScaling) handleSchemaChange(ctx context.Context, msg *ftlv1.PullSc
defer l.lock.Unlock()
logger := log.FromContext(ctx).Scope("localScaling").Module(msg.ModuleName)
ctx = log.ContextWithLogger(ctx, logger)
logger.Infof("Handling schema change for %s", msg.DeploymentKey)
logger.Debugf("Handling schema change for %s", msg.DeploymentKey)
moduleDeployments := l.runners[msg.ModuleName]
if moduleDeployments == nil {
moduleDeployments = map[string]*deploymentInfo{}
Expand Down

0 comments on commit efddff9

Please sign in to comment.