Skip to content

Commit 770bdee

Browse files
committed
clean useless logs
1 parent 023bae6 commit 770bdee

File tree

4 files changed

+86
-43
lines changed

4 files changed

+86
-43
lines changed

packages/amazonq/package.json

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,110 +1227,138 @@
12271227
"fontCharacter": "\\f1d0"
12281228
}
12291229
},
1230-
"aws-lambda-function": {
1230+
"aws-lambda-create-stack": {
12311231
"description": "AWS Contributed Icon",
12321232
"default": {
12331233
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12341234
"fontCharacter": "\\f1d1"
12351235
}
12361236
},
1237-
"aws-mynah-MynahIconBlack": {
1237+
"aws-lambda-create-stack-light": {
12381238
"description": "AWS Contributed Icon",
12391239
"default": {
12401240
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12411241
"fontCharacter": "\\f1d2"
12421242
}
12431243
},
1244-
"aws-mynah-MynahIconWhite": {
1244+
"aws-lambda-function": {
12451245
"description": "AWS Contributed Icon",
12461246
"default": {
12471247
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12481248
"fontCharacter": "\\f1d3"
12491249
}
12501250
},
1251-
"aws-mynah-logo": {
1251+
"aws-mynah-MynahIconBlack": {
12521252
"description": "AWS Contributed Icon",
12531253
"default": {
12541254
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12551255
"fontCharacter": "\\f1d4"
12561256
}
12571257
},
1258-
"aws-redshift-cluster": {
1258+
"aws-mynah-MynahIconWhite": {
12591259
"description": "AWS Contributed Icon",
12601260
"default": {
12611261
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12621262
"fontCharacter": "\\f1d5"
12631263
}
12641264
},
1265-
"aws-redshift-cluster-connected": {
1265+
"aws-mynah-logo": {
12661266
"description": "AWS Contributed Icon",
12671267
"default": {
12681268
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12691269
"fontCharacter": "\\f1d6"
12701270
}
12711271
},
1272-
"aws-redshift-database": {
1272+
"aws-redshift-cluster": {
12731273
"description": "AWS Contributed Icon",
12741274
"default": {
12751275
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12761276
"fontCharacter": "\\f1d7"
12771277
}
12781278
},
1279-
"aws-redshift-redshift-cluster-connected": {
1279+
"aws-redshift-cluster-connected": {
12801280
"description": "AWS Contributed Icon",
12811281
"default": {
12821282
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12831283
"fontCharacter": "\\f1d8"
12841284
}
12851285
},
1286-
"aws-redshift-schema": {
1286+
"aws-redshift-database": {
12871287
"description": "AWS Contributed Icon",
12881288
"default": {
12891289
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12901290
"fontCharacter": "\\f1d9"
12911291
}
12921292
},
1293-
"aws-redshift-table": {
1293+
"aws-redshift-redshift-cluster-connected": {
12941294
"description": "AWS Contributed Icon",
12951295
"default": {
12961296
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
12971297
"fontCharacter": "\\f1da"
12981298
}
12991299
},
1300-
"aws-s3-bucket": {
1300+
"aws-redshift-schema": {
13011301
"description": "AWS Contributed Icon",
13021302
"default": {
13031303
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13041304
"fontCharacter": "\\f1db"
13051305
}
13061306
},
1307-
"aws-s3-create-bucket": {
1307+
"aws-redshift-table": {
13081308
"description": "AWS Contributed Icon",
13091309
"default": {
13101310
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13111311
"fontCharacter": "\\f1dc"
13121312
}
13131313
},
1314-
"aws-schemas-registry": {
1314+
"aws-s3-bucket": {
13151315
"description": "AWS Contributed Icon",
13161316
"default": {
13171317
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13181318
"fontCharacter": "\\f1dd"
13191319
}
13201320
},
1321-
"aws-schemas-schema": {
1321+
"aws-s3-create-bucket": {
13221322
"description": "AWS Contributed Icon",
13231323
"default": {
13241324
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13251325
"fontCharacter": "\\f1de"
13261326
}
13271327
},
1328-
"aws-stepfunctions-preview": {
1328+
"aws-sagemaker-code-editor": {
13291329
"description": "AWS Contributed Icon",
13301330
"default": {
13311331
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13321332
"fontCharacter": "\\f1df"
13331333
}
1334+
},
1335+
"aws-sagemaker-jupyter-lab": {
1336+
"description": "AWS Contributed Icon",
1337+
"default": {
1338+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1339+
"fontCharacter": "\\f1e0"
1340+
}
1341+
},
1342+
"aws-schemas-registry": {
1343+
"description": "AWS Contributed Icon",
1344+
"default": {
1345+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1346+
"fontCharacter": "\\f1e1"
1347+
}
1348+
},
1349+
"aws-schemas-schema": {
1350+
"description": "AWS Contributed Icon",
1351+
"default": {
1352+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1353+
"fontCharacter": "\\f1e2"
1354+
}
1355+
},
1356+
"aws-stepfunctions-preview": {
1357+
"description": "AWS Contributed Icon",
1358+
"default": {
1359+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1360+
"fontCharacter": "\\f1e3"
1361+
}
13341362
}
13351363
},
13361364
"walkthroughs": [

packages/amazonq/src/lsp/client.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -270,18 +270,8 @@ async function onLanguageServerReady(
270270
// Function to attempt connection
271271
const attemptConnection = (attempt: number = 1): void => {
272272
const autoDebugFeature = (global as any).autoDebugFeature as AutoDebugFeature | undefined
273-
getLogger('amazonqLsp').debug(
274-
'AutoDebug feature connection attempt %d: %s',
275-
attempt,
276-
autoDebugFeature ? 'found' : 'not found'
277-
)
278-
279273
if (autoDebugFeature) {
280-
getLogger('amazonqLsp').debug('Setting language client and encryption key on AutoDebug feature')
281274
autoDebugFeature.setLanguageClient(client, encryptionKey)
282-
getLogger('amazonqLsp').info(
283-
'AutoDebug feature connected to language client with encryption key successfully'
284-
)
285275
} else if (attempt < 5) {
286276
// Retry up to 5 times with exponential backoff
287277
const delay = Math.min(1000 * Math.pow(2, attempt - 1), 10000) // Max 10 seconds

packages/core/src/codewhisperer/activation.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,7 @@ export async function activate(context: ExtContext): Promise<void> {
488488

489489
// Activate AutoDebug feature
490490
try {
491-
getLogger().debug('Starting AutoDebug feature activation')
492491
const autoDebugFeature = await activateAutoDebug(context.extensionContext)
493-
getLogger().info('AutoDebug feature activated successfully')
494-
495492
// Store the feature instance for later LSP connection
496493
;(global as any).autoDebugFeature = autoDebugFeature
497494
// Add the feature to extension subscriptions for proper cleanup

packages/toolkit/package.json

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4565,110 +4565,138 @@
45654565
"fontCharacter": "\\f1d0"
45664566
}
45674567
},
4568-
"aws-lambda-function": {
4568+
"aws-lambda-create-stack": {
45694569
"description": "AWS Contributed Icon",
45704570
"default": {
45714571
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
45724572
"fontCharacter": "\\f1d1"
45734573
}
45744574
},
4575-
"aws-mynah-MynahIconBlack": {
4575+
"aws-lambda-create-stack-light": {
45764576
"description": "AWS Contributed Icon",
45774577
"default": {
45784578
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
45794579
"fontCharacter": "\\f1d2"
45804580
}
45814581
},
4582-
"aws-mynah-MynahIconWhite": {
4582+
"aws-lambda-function": {
45834583
"description": "AWS Contributed Icon",
45844584
"default": {
45854585
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
45864586
"fontCharacter": "\\f1d3"
45874587
}
45884588
},
4589-
"aws-mynah-logo": {
4589+
"aws-mynah-MynahIconBlack": {
45904590
"description": "AWS Contributed Icon",
45914591
"default": {
45924592
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
45934593
"fontCharacter": "\\f1d4"
45944594
}
45954595
},
4596-
"aws-redshift-cluster": {
4596+
"aws-mynah-MynahIconWhite": {
45974597
"description": "AWS Contributed Icon",
45984598
"default": {
45994599
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46004600
"fontCharacter": "\\f1d5"
46014601
}
46024602
},
4603-
"aws-redshift-cluster-connected": {
4603+
"aws-mynah-logo": {
46044604
"description": "AWS Contributed Icon",
46054605
"default": {
46064606
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46074607
"fontCharacter": "\\f1d6"
46084608
}
46094609
},
4610-
"aws-redshift-database": {
4610+
"aws-redshift-cluster": {
46114611
"description": "AWS Contributed Icon",
46124612
"default": {
46134613
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46144614
"fontCharacter": "\\f1d7"
46154615
}
46164616
},
4617-
"aws-redshift-redshift-cluster-connected": {
4617+
"aws-redshift-cluster-connected": {
46184618
"description": "AWS Contributed Icon",
46194619
"default": {
46204620
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46214621
"fontCharacter": "\\f1d8"
46224622
}
46234623
},
4624-
"aws-redshift-schema": {
4624+
"aws-redshift-database": {
46254625
"description": "AWS Contributed Icon",
46264626
"default": {
46274627
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46284628
"fontCharacter": "\\f1d9"
46294629
}
46304630
},
4631-
"aws-redshift-table": {
4631+
"aws-redshift-redshift-cluster-connected": {
46324632
"description": "AWS Contributed Icon",
46334633
"default": {
46344634
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46354635
"fontCharacter": "\\f1da"
46364636
}
46374637
},
4638-
"aws-s3-bucket": {
4638+
"aws-redshift-schema": {
46394639
"description": "AWS Contributed Icon",
46404640
"default": {
46414641
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46424642
"fontCharacter": "\\f1db"
46434643
}
46444644
},
4645-
"aws-s3-create-bucket": {
4645+
"aws-redshift-table": {
46464646
"description": "AWS Contributed Icon",
46474647
"default": {
46484648
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46494649
"fontCharacter": "\\f1dc"
46504650
}
46514651
},
4652-
"aws-schemas-registry": {
4652+
"aws-s3-bucket": {
46534653
"description": "AWS Contributed Icon",
46544654
"default": {
46554655
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46564656
"fontCharacter": "\\f1dd"
46574657
}
46584658
},
4659-
"aws-schemas-schema": {
4659+
"aws-s3-create-bucket": {
46604660
"description": "AWS Contributed Icon",
46614661
"default": {
46624662
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46634663
"fontCharacter": "\\f1de"
46644664
}
46654665
},
4666-
"aws-stepfunctions-preview": {
4666+
"aws-sagemaker-code-editor": {
46674667
"description": "AWS Contributed Icon",
46684668
"default": {
46694669
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
46704670
"fontCharacter": "\\f1df"
46714671
}
4672+
},
4673+
"aws-sagemaker-jupyter-lab": {
4674+
"description": "AWS Contributed Icon",
4675+
"default": {
4676+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4677+
"fontCharacter": "\\f1e0"
4678+
}
4679+
},
4680+
"aws-schemas-registry": {
4681+
"description": "AWS Contributed Icon",
4682+
"default": {
4683+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4684+
"fontCharacter": "\\f1e1"
4685+
}
4686+
},
4687+
"aws-schemas-schema": {
4688+
"description": "AWS Contributed Icon",
4689+
"default": {
4690+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4691+
"fontCharacter": "\\f1e2"
4692+
}
4693+
},
4694+
"aws-stepfunctions-preview": {
4695+
"description": "AWS Contributed Icon",
4696+
"default": {
4697+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4698+
"fontCharacter": "\\f1e3"
4699+
}
46724700
}
46734701
},
46744702
"notebooks": [

0 commit comments

Comments
 (0)