Skip to content

Commit

Permalink
[Task Manager] Change info message "ran out Available Workers" to deb…
Browse files Browse the repository at this point in the history
…ug (elastic#62083) (elastic#62160)

resolves elastic#54920

The scenario this message warns about is actually something that we should
expect to happen in a busy system - and we back off as we should.  But
there's no reason it needs to be info-logged, especially as it seems
somewhat frightening.

Changing to debug, so in case we do need this for diagnostic purposes, we
can still get it via logging config.
  • Loading branch information
pmuellr authored Apr 1, 2020
1 parent 7d4c24d commit 33d6061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/task_manager/server/task_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export async function claimAvailableTasks(
}
} else {
performance.mark('claimAvailableTasks.noAvailableWorkers');
logger.info(
logger.debug(
`[Task Ownership]: Task Manager has skipped Claiming Ownership of available tasks at it has ran out Available Workers.`
);
}
Expand Down

0 comments on commit 33d6061

Please sign in to comment.