mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 01:25:42 -05:00
Bug fix for https://github.com/Microsoft/azuredatastudio/issues/2923 and misc other fixes (#711)
This commit is contained in:
@@ -36,15 +36,12 @@ namespace Microsoft.SqlTools.Credentials
|
||||
string logFilePath = commandOptions.LogFilePath;
|
||||
if (string.IsNullOrWhiteSpace(logFilePath))
|
||||
{
|
||||
logFilePath = "credentials";
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(commandOptions.LoggingDirectory))
|
||||
{
|
||||
logFilePath = Logger.GenerateLogFilePath(Path.Combine(commandOptions.LoggingDirectory, logFilePath));
|
||||
logFilePath = Logger.GenerateLogFilePath("credentials");
|
||||
}
|
||||
|
||||
Logger.AutoFlush = commandOptions.AutoFlushLog;
|
||||
|
||||
Logger.Initialize(tracingLevel: commandOptions.TracingLevel, logFilePath: logFilePath, traceSource: "credentials");
|
||||
Logger.Write(TraceEventType.Information, "Starting SqlTools Credentials Provider");
|
||||
|
||||
// set up the host details and profile paths
|
||||
var hostDetails = new HostDetails(
|
||||
|
||||
Reference in New Issue
Block a user