Fix autoflush option not being used (#1470)

* Fix autoflush option not being used

* Remove extra comment
This commit is contained in:
Charles Gagnon
2022-04-21 16:04:41 -07:00
committed by GitHub
parent 853335df72
commit 0f39021438
5 changed files with 13 additions and 13 deletions

View File

@@ -38,9 +38,8 @@ namespace Microsoft.SqlTools.ResourceProvider
logFilePath = Logger.GenerateLogFilePath("SqlToolsResourceProviderService");
}
// turn on Verbose logging during early development
// we need to switch to Information when preparing for public preview
Logger.Initialize(tracingLevel: commandOptions.TracingLevel, logFilePath: logFilePath, traceSource: "resourceprovider");
Logger.Initialize(tracingLevel: commandOptions.TracingLevel, logFilePath: logFilePath, traceSource: "resourceprovider", commandOptions.AutoFlushLog);
Logger.Write(TraceEventType.Information, "Starting SqlTools Resource Provider");
// set up the host details and profile paths