diff --git a/src/core/server/elasticsearch/client/configure_client.ts b/src/core/server/elasticsearch/client/configure_client.ts index b31d50c2616e3..5d2b968ed5107 100644 --- a/src/core/server/elasticsearch/client/configure_client.ts +++ b/src/core/server/elasticsearch/client/configure_client.ts @@ -171,7 +171,7 @@ const addLogging = ({ client, type, logger }: { client: Client; type: string; lo const stackTrace = new Error().stack?.split('\n').slice(5).join('\n'); if (requestOrigin === 'kibana') { - deprecationLogger.info( + deprecationLogger.warn( `ES DEPRECATION: ${event.warnings}\nOrigin:${requestOrigin}\nStack trace:\n${stackTrace}\nQuery:\n${queryMessage}` ); } else {