[Fleet] changed log level to debug (#170967)

Resolves https://github.com/elastic/kibana/issues/170951

Changed `Running Fleet metrics task` info log to debug
This commit is contained in:
Julia Bardi 2023-11-09 18:11:41 +01:00 committed by GitHub
parent ce33484da2
commit 8b4da3eee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,10 +72,10 @@ export class FleetMetricsTask {
return;
}
if (!this.esClient) {
appContextService.getLogger().info('esClient not set, skipping Fleet metrics task');
appContextService.getLogger().debug('esClient not set, skipping Fleet metrics task');
return;
}
appContextService.getLogger().info('Running Fleet metrics task');
appContextService.getLogger().debug('Running Fleet metrics task');
try {
const agentMetrics = await fetchAgentMetrics();