Skip to content

Commit 1509ff6

Browse files
committed
Revert "clean useless logs"
This reverts commit 770bdee.
1 parent 6a0cda4 commit 1509ff6

File tree

4 files changed

+43
-86
lines changed

4 files changed

+43
-86
lines changed

packages/amazonq/package.json

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,137 +1227,109 @@
12271227
"fontCharacter": "\\f1d0"
12281228
}
12291229
},
1230-
"aws-lambda-create-stack": {
1231-
"description": "AWS Contributed Icon",
1232-
"default": {
1233-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1234-
"fontCharacter": "\\f1d1"
1235-
}
1236-
},
1237-
"aws-lambda-create-stack-light": {
1238-
"description": "AWS Contributed Icon",
1239-
"default": {
1240-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1241-
"fontCharacter": "\\f1d2"
1242-
}
1243-
},
12441230
"aws-lambda-function": {
12451231
"description": "AWS Contributed Icon",
12461232
"default": {
12471233
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1248-
"fontCharacter": "\\f1d3"
1234+
"fontCharacter": "\\f1d1"
12491235
}
12501236
},
12511237
"aws-mynah-MynahIconBlack": {
12521238
"description": "AWS Contributed Icon",
12531239
"default": {
12541240
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1255-
"fontCharacter": "\\f1d4"
1241+
"fontCharacter": "\\f1d2"
12561242
}
12571243
},
12581244
"aws-mynah-MynahIconWhite": {
12591245
"description": "AWS Contributed Icon",
12601246
"default": {
12611247
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1262-
"fontCharacter": "\\f1d5"
1248+
"fontCharacter": "\\f1d3"
12631249
}
12641250
},
12651251
"aws-mynah-logo": {
12661252
"description": "AWS Contributed Icon",
12671253
"default": {
12681254
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1269-
"fontCharacter": "\\f1d6"
1255+
"fontCharacter": "\\f1d4"
12701256
}
12711257
},
12721258
"aws-redshift-cluster": {
12731259
"description": "AWS Contributed Icon",
12741260
"default": {
12751261
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1276-
"fontCharacter": "\\f1d7"
1262+
"fontCharacter": "\\f1d5"
12771263
}
12781264
},
12791265
"aws-redshift-cluster-connected": {
12801266
"description": "AWS Contributed Icon",
12811267
"default": {
12821268
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1283-
"fontCharacter": "\\f1d8"
1269+
"fontCharacter": "\\f1d6"
12841270
}
12851271
},
12861272
"aws-redshift-database": {
12871273
"description": "AWS Contributed Icon",
12881274
"default": {
12891275
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1290-
"fontCharacter": "\\f1d9"
1276+
"fontCharacter": "\\f1d7"
12911277
}
12921278
},
12931279
"aws-redshift-redshift-cluster-connected": {
12941280
"description": "AWS Contributed Icon",
12951281
"default": {
12961282
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1297-
"fontCharacter": "\\f1da"
1283+
"fontCharacter": "\\f1d8"
12981284
}
12991285
},
13001286
"aws-redshift-schema": {
13011287
"description": "AWS Contributed Icon",
13021288
"default": {
13031289
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1304-
"fontCharacter": "\\f1db"
1290+
"fontCharacter": "\\f1d9"
13051291
}
13061292
},
13071293
"aws-redshift-table": {
13081294
"description": "AWS Contributed Icon",
13091295
"default": {
13101296
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1311-
"fontCharacter": "\\f1dc"
1297+
"fontCharacter": "\\f1da"
13121298
}
13131299
},
13141300
"aws-s3-bucket": {
13151301
"description": "AWS Contributed Icon",
13161302
"default": {
13171303
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1318-
"fontCharacter": "\\f1dd"
1304+
"fontCharacter": "\\f1db"
13191305
}
13201306
},
13211307
"aws-s3-create-bucket": {
13221308
"description": "AWS Contributed Icon",
13231309
"default": {
13241310
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1325-
"fontCharacter": "\\f1de"
1326-
}
1327-
},
1328-
"aws-sagemaker-code-editor": {
1329-
"description": "AWS Contributed Icon",
1330-
"default": {
1331-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1332-
"fontCharacter": "\\f1df"
1333-
}
1334-
},
1335-
"aws-sagemaker-jupyter-lab": {
1336-
"description": "AWS Contributed Icon",
1337-
"default": {
1338-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1339-
"fontCharacter": "\\f1e0"
1311+
"fontCharacter": "\\f1dc"
13401312
}
13411313
},
13421314
"aws-schemas-registry": {
13431315
"description": "AWS Contributed Icon",
13441316
"default": {
13451317
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1346-
"fontCharacter": "\\f1e1"
1318+
"fontCharacter": "\\f1dd"
13471319
}
13481320
},
13491321
"aws-schemas-schema": {
13501322
"description": "AWS Contributed Icon",
13511323
"default": {
13521324
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1353-
"fontCharacter": "\\f1e2"
1325+
"fontCharacter": "\\f1de"
13541326
}
13551327
},
13561328
"aws-stepfunctions-preview": {
13571329
"description": "AWS Contributed Icon",
13581330
"default": {
13591331
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1360-
"fontCharacter": "\\f1e3"
1332+
"fontCharacter": "\\f1df"
13611333
}
13621334
}
13631335
},

packages/amazonq/src/lsp/client.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,18 @@ 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+
273279
if (autoDebugFeature) {
280+
getLogger('amazonqLsp').debug('Setting language client and encryption key on AutoDebug feature')
274281
autoDebugFeature.setLanguageClient(client, encryptionKey)
282+
getLogger('amazonqLsp').info(
283+
'AutoDebug feature connected to language client with encryption key successfully'
284+
)
275285
} else if (attempt < 5) {
276286
// Retry up to 5 times with exponential backoff
277287
const delay = Math.min(1000 * Math.pow(2, attempt - 1), 10000) // Max 10 seconds

packages/core/src/codewhisperer/activation.ts

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

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

packages/toolkit/package.json

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4565,137 +4565,109 @@
45654565
"fontCharacter": "\\f1d0"
45664566
}
45674567
},
4568-
"aws-lambda-create-stack": {
4569-
"description": "AWS Contributed Icon",
4570-
"default": {
4571-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4572-
"fontCharacter": "\\f1d1"
4573-
}
4574-
},
4575-
"aws-lambda-create-stack-light": {
4576-
"description": "AWS Contributed Icon",
4577-
"default": {
4578-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4579-
"fontCharacter": "\\f1d2"
4580-
}
4581-
},
45824568
"aws-lambda-function": {
45834569
"description": "AWS Contributed Icon",
45844570
"default": {
45854571
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4586-
"fontCharacter": "\\f1d3"
4572+
"fontCharacter": "\\f1d1"
45874573
}
45884574
},
45894575
"aws-mynah-MynahIconBlack": {
45904576
"description": "AWS Contributed Icon",
45914577
"default": {
45924578
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4593-
"fontCharacter": "\\f1d4"
4579+
"fontCharacter": "\\f1d2"
45944580
}
45954581
},
45964582
"aws-mynah-MynahIconWhite": {
45974583
"description": "AWS Contributed Icon",
45984584
"default": {
45994585
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4600-
"fontCharacter": "\\f1d5"
4586+
"fontCharacter": "\\f1d3"
46014587
}
46024588
},
46034589
"aws-mynah-logo": {
46044590
"description": "AWS Contributed Icon",
46054591
"default": {
46064592
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4607-
"fontCharacter": "\\f1d6"
4593+
"fontCharacter": "\\f1d4"
46084594
}
46094595
},
46104596
"aws-redshift-cluster": {
46114597
"description": "AWS Contributed Icon",
46124598
"default": {
46134599
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4614-
"fontCharacter": "\\f1d7"
4600+
"fontCharacter": "\\f1d5"
46154601
}
46164602
},
46174603
"aws-redshift-cluster-connected": {
46184604
"description": "AWS Contributed Icon",
46194605
"default": {
46204606
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4621-
"fontCharacter": "\\f1d8"
4607+
"fontCharacter": "\\f1d6"
46224608
}
46234609
},
46244610
"aws-redshift-database": {
46254611
"description": "AWS Contributed Icon",
46264612
"default": {
46274613
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4628-
"fontCharacter": "\\f1d9"
4614+
"fontCharacter": "\\f1d7"
46294615
}
46304616
},
46314617
"aws-redshift-redshift-cluster-connected": {
46324618
"description": "AWS Contributed Icon",
46334619
"default": {
46344620
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4635-
"fontCharacter": "\\f1da"
4621+
"fontCharacter": "\\f1d8"
46364622
}
46374623
},
46384624
"aws-redshift-schema": {
46394625
"description": "AWS Contributed Icon",
46404626
"default": {
46414627
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4642-
"fontCharacter": "\\f1db"
4628+
"fontCharacter": "\\f1d9"
46434629
}
46444630
},
46454631
"aws-redshift-table": {
46464632
"description": "AWS Contributed Icon",
46474633
"default": {
46484634
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4649-
"fontCharacter": "\\f1dc"
4635+
"fontCharacter": "\\f1da"
46504636
}
46514637
},
46524638
"aws-s3-bucket": {
46534639
"description": "AWS Contributed Icon",
46544640
"default": {
46554641
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4656-
"fontCharacter": "\\f1dd"
4642+
"fontCharacter": "\\f1db"
46574643
}
46584644
},
46594645
"aws-s3-create-bucket": {
46604646
"description": "AWS Contributed Icon",
46614647
"default": {
46624648
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4663-
"fontCharacter": "\\f1de"
4664-
}
4665-
},
4666-
"aws-sagemaker-code-editor": {
4667-
"description": "AWS Contributed Icon",
4668-
"default": {
4669-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4670-
"fontCharacter": "\\f1df"
4671-
}
4672-
},
4673-
"aws-sagemaker-jupyter-lab": {
4674-
"description": "AWS Contributed Icon",
4675-
"default": {
4676-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4677-
"fontCharacter": "\\f1e0"
4649+
"fontCharacter": "\\f1dc"
46784650
}
46794651
},
46804652
"aws-schemas-registry": {
46814653
"description": "AWS Contributed Icon",
46824654
"default": {
46834655
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4684-
"fontCharacter": "\\f1e1"
4656+
"fontCharacter": "\\f1dd"
46854657
}
46864658
},
46874659
"aws-schemas-schema": {
46884660
"description": "AWS Contributed Icon",
46894661
"default": {
46904662
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4691-
"fontCharacter": "\\f1e2"
4663+
"fontCharacter": "\\f1de"
46924664
}
46934665
},
46944666
"aws-stepfunctions-preview": {
46954667
"description": "AWS Contributed Icon",
46964668
"default": {
46974669
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
4698-
"fontCharacter": "\\f1e3"
4670+
"fontCharacter": "\\f1df"
46994671
}
47004672
}
47014673
},

0 commit comments

Comments
 (0)