@@ -212,10 +212,10 @@ public Task LoadAndRunEditorServicesAsync()
212
212
ValidateConfiguration ( ) ;
213
213
214
214
// Method with no implementation that forces the PSES assembly to load, triggering an AssemblyResolve event
215
- _logger . Log ( PsesLogLevel . Information , "Loading PowerShell Editor Services" ) ;
215
+ _logger . Log ( PsesLogLevel . Information , "Loading PowerShell Editor Services Assemblies " ) ;
216
216
LoadEditorServices ( ) ;
217
217
218
- _logger . Log ( PsesLogLevel . Information , "Starting EditorServices " ) ;
218
+ _logger . Log ( PsesLogLevel . Information , "Starting PowerShell Editor Services " ) ;
219
219
220
220
_editorServicesRunner = new EditorServicesRunner ( _logger , _hostConfig , _sessionFileWriter , _loggersToUnsubscribe ) ;
221
221
@@ -242,7 +242,7 @@ private void CheckPowerShellVersion()
242
242
{
243
243
PSLanguageMode languageMode = Runspace . DefaultRunspace . SessionStateProxy . LanguageMode ;
244
244
245
- _logger . Log ( PsesLogLevel . Debug , $@ "
245
+ _logger . Log ( PsesLogLevel . Trace , $@ "
246
246
== PowerShell Details ==
247
247
- PowerShell version: { _powerShellVersion }
248
248
- Language mode: { languageMode }
@@ -295,12 +295,12 @@ private void UpdatePSModulePath()
295
295
}
296
296
psModulePath = $ "{ psModulePath } { Path . PathSeparator } { _hostConfig . BundledModulePath } ";
297
297
Environment . SetEnvironmentVariable ( "PSModulePath" , psModulePath ) ;
298
- _logger . Log ( PsesLogLevel . Debug , $ "Updated PSModulePath to: '{ psModulePath } '") ;
298
+ _logger . Log ( PsesLogLevel . Trace , $ "Updated PSModulePath to: '{ psModulePath } '") ;
299
299
}
300
300
301
301
private void LogHostInformation ( )
302
302
{
303
- _logger . Log ( PsesLogLevel . Debug , $ "PID: { System . Diagnostics . Process . GetCurrentProcess ( ) . Id } ") ;
303
+ _logger . Log ( PsesLogLevel . Trace , $ "PID: { System . Diagnostics . Process . GetCurrentProcess ( ) . Id } ") ;
304
304
305
305
_logger . Log ( PsesLogLevel . Debug , $@ "
306
306
== Build Details ==
@@ -359,7 +359,7 @@ private static string GetPSOutputEncoding()
359
359
[ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Usage" , "CA2208:Instantiate argument exceptions correctly" , Justification = "Checking user-defined configuration" ) ]
360
360
private void ValidateConfiguration ( )
361
361
{
362
- _logger . Log ( PsesLogLevel . Trace , "Validating configuration" ) ;
362
+ _logger . Log ( PsesLogLevel . Debug , "Validating configuration" ) ;
363
363
364
364
bool lspUsesStdio = _hostConfig . LanguageServiceTransport is StdioTransportConfig ;
365
365
bool debugUsesStdio = _hostConfig . DebugServiceTransport is StdioTransportConfig ;
0 commit comments