Skip to content
Snippets Groups Projects
Commit af75f1b1 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Fix: Verbosity

parent b3743cfc
No related branches found
No related tags found
1 merge request!23Fix: Reduced log verbosity
...@@ -23,7 +23,6 @@ public class Deployer ...@@ -23,7 +23,6 @@ public class Deployer
{ {
_logger = logger; _logger = logger;
_graphDeployerConfiguration = graphDeployerConfiguration.CurrentValue; _graphDeployerConfiguration = graphDeployerConfiguration.CurrentValue;
Console.WriteLine($"SSL ENV VAR: {_graphDeployerConfiguration.SkipSslCheck} 33");
// Build the configuration for the API client based on the configuration settings // Build the configuration for the API client based on the configuration settings
var apiClientConfig = new Configuration var apiClientConfig = new Configuration
{ {
...@@ -36,7 +35,7 @@ public class Deployer ...@@ -36,7 +35,7 @@ public class Deployer
// Check if the graph deployer has to skip SSL checks when connecting to the API // Check if the graph deployer has to skip SSL checks when connecting to the API
if (_graphDeployerConfiguration.SkipSslCheck) if (_graphDeployerConfiguration.SkipSslCheck)
{ {
Console.WriteLine("Skipping SSL certificate validation..."); _logger.LogInformation("Skipping SSL certificate validation...");
// Skip SSL certificate validation // Skip SSL certificate validation
apiClientConfig.RemoteCertificateValidationCallback = (_, _, _, _) => true; apiClientConfig.RemoteCertificateValidationCallback = (_, _, _, _) => true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment