Skip to content

Commit

Permalink
[Task Manager] Change info message "ran out Available Workers" to debug
Browse files Browse the repository at this point in the history
resolves #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 committed Mar 31, 2020
1 parent db996f8 commit d449565
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 d449565

Please sign in to comment.