Skip to content

Commit f38eb27

Browse files
authored
Improve SSL info logging
1 parent f61ed28 commit f38eb27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apm-agent-core/src/main/java/co/elastic/apm/agent/report/AbstractIntakeApiHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ protected HttpURLConnection startRequest(String endpoint) throws Exception {
122122
payloadSerializer.flushToOutputStream();
123123
requestStartedNanos = System.nanoTime();
124124
} catch (IOException e) {
125-
logger.error("Error trying to connect to APM Server at {}. Some details about SSL configurations corresponding " +
126-
"the current connection are logged at INFO level.", connection.getURL());
125+
logger.error("Error trying to connect to APM Server at {}. Although not necessarily related to SSL, some related SSL " +
126+
"configurations corresponding the current connection are logged at INFO level.", connection.getURL());
127127
if (logger.isInfoEnabled() && connection instanceof HttpsURLConnection) {
128128
HttpsURLConnection httpsURLConnection = (HttpsURLConnection) connection;
129129
try {

0 commit comments

Comments
 (0)