Skip to content

Commit 0098e40

Browse files
committed
fix(amazonq): fix the logs
1 parent bbdeb78 commit 0098e40

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/core/src/amazonq/autoDebug/lsp/autoDebugLspClient.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ export class AutoDebugLspClient {
116116
* This uses the regular Amazon Q chat pipeline - response will appear in chat UI automatically
117117
*/
118118
public async sendChatMessage(params: { message: string; triggerType: string; eventId: string }): Promise<boolean> {
119-
this.logger.info('=== AutoDebugLspClient: Using real AutoDebugLspClient from amazonq package ===')
120-
this.logger.info('AutoDebugLspClient: Message: %s', params.message.substring(0, 500))
121-
this.logger.info('AutoDebugLspClient: TriggerType: %s', params.triggerType)
122-
this.logger.info('AutoDebugLspClient: EventId: %s', params.eventId)
123-
124119
try {
125120
// Get the real AutoDebugLspClient from the amazonq package
126121
const realAutoDebugClient = (global as any).autoDebugLspClient
@@ -140,9 +135,6 @@ export class AutoDebugLspClient {
140135
const result = await realAutoDebugClient.sendChatMessage(params.message, params.eventId)
141136

142137
this.logger.info('AutoDebugLspClient: ✅ Message sent successfully using real AutoDebugLspClient')
143-
this.logger.info('AutoDebugLspClient: Response will appear in Amazon Q chat UI automatically')
144-
this.logger.info('AutoDebugLspClient: Language server will handle the response processing')
145-
146138
// Return success - the chat pipeline handles everything else automatically
147139
return !!result
148140
} catch (error) {

toolsForBuild.backup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 45195aa43333c788cfb81bc540467ad25397919c

0 commit comments

Comments
 (0)