Skip to content

Commit

Permalink
Change log level to debug if not finding insight agent id
Browse files Browse the repository at this point in the history
Signed-off-by: Heng Qian <qianheng@amazon.com>
  • Loading branch information
qianheng-aws committed Oct 9, 2024
1 parent d1ee519 commit ae4db73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/routes/summary_routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getAgentIdByConfigName, searchAgent } from './get_agent';
import { AssistantServiceSetup } from '../services/assistant_service';

const SUMMARY_AGENT_CONFIG_ID = 'os_summary';
const LOG_PATTERN_SUMMARY_AGENT_CONFIG_ID = 'os_summary_with_logPattern';
const LOG_PATTERN_SUMMARY_AGENT_CONFIG_ID = 'os_summary_with_log_pattern';
const OS_INSIGHT_AGENT_CONFIG_ID = 'os_insight';
const DATA2SUMMARY_AGENT_CONFIG_ID = 'os_data2summary';

Expand Down Expand Up @@ -67,7 +67,7 @@ export function registerSummaryAssistantRoutes(
}
}
} catch (e) {
context.assistant_plugin.logger.info(
context.assistant_plugin.logger.debug(
`Cannot find insight agent for ${req.body.insightType}`,
e
);
Expand Down

0 comments on commit ae4db73

Please sign in to comment.