File tree 2 files changed +6
-6
lines changed
src/Agent/NewRelic/Agent/Core
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ public void Connect()
74
74
try
75
75
{
76
76
ValidateNotBothHsmAndSecurityPolicies ( _configuration ) ;
77
+ LogTlsConfiguration ( ) ;
77
78
78
79
var preconnectResult = SendPreconnectRequest ( ) ;
79
80
_connectionInfo = new ConnectionInfo ( _configuration , preconnectResult . RedirectHost ) ;
@@ -112,6 +113,11 @@ public void Connect()
112
113
}
113
114
}
114
115
116
+ private void LogTlsConfiguration ( )
117
+ {
118
+ Log . Info ( $ "Current TLS Configuration (System.Net.ServicePointManager.SecurityProtocol): { System . Net . ServicePointManager . SecurityProtocol } ") ;
119
+ }
120
+
115
121
private void GenerateSpanEventsHarvestLimitMetrics ( SingleEventHarvestConfig spanEventHarvestConfig )
116
122
{
117
123
if ( spanEventHarvestConfig != null )
Original file line number Diff line number Diff line change @@ -184,12 +184,6 @@ private void Initialize()
184
184
185
185
StartServices ( ) ;
186
186
LogInitialized ( ) ;
187
- LogTlsConfiguration ( ) ;
188
- }
189
-
190
- private void LogTlsConfiguration ( )
191
- {
192
- Log . Info ( $ "TLS Configuration (System.Net.ServicePointManager.SecurityProtocol): { System . Net . ServicePointManager . SecurityProtocol } ") ;
193
187
}
194
188
195
189
private void LogInitialized ( )
You can’t perform that action at this time.
0 commit comments