File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import {
3535} from 'aws-core-vscode/shared'
3636import { activate } from './chat/activation'
3737import { AmazonQResourcePaths } from './lspInstaller'
38- import { getLspLogLevel } from './config'
38+ import { getLspLogSettings } from './config'
3939
4040const localize = nls . loadMessageBundle ( )
4141const logger = getLogger ( 'amazonqLsp.lspClient' )
@@ -63,7 +63,7 @@ export async function startLanguageServer(
6363 } )
6464 const clientId = `amazonq`
6565 const documentSelector = [ { scheme : 'file' , language : '*' } ]
66- const lspLogSettings = getLspLogLevel ( clientId )
66+ const lspLogSettings = getLspLogSettings ( clientId )
6767
6868 getLogger ( 'amazonqLsp' ) . info ( `Sending log settings to lsp: %O` , lspLogSettings )
6969
Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ export function getAmazonQLspConfig(): ExtendedAmazonQLSPConfig {
2727 }
2828}
2929
30- // TODO: expose lsp logging settings to users
31- // trace.server -> pipe LSP logs to seperate output channel.
32- // lsp.logLevel -> log level to pass to the lsp.
33- export function getLspLogLevel ( clientId : string ) {
30+ // TODO: expose lsp logging settings to users and re-send on update.
31+ export function getLspLogSettings ( clientId : string ) {
3432 const traceServerSetting = `${ clientId } .trace.server`
3533 const lspLogLevelSetting = `${ clientId } .lsp.logLevel`
3634
You can’t perform that action at this time.
0 commit comments