Skip to content

Commit

Permalink
Fix format of debug messages in tlscommon (elastic#21482) (elastic#21491
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 39e144d)
  • Loading branch information
jsoriano authored Oct 3, 2020
1 parent f843e3a commit 6a87069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/common/transport/tlscommon/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func LoadCertificate(config *CertificateConfig) (*tls.Certificate, error) {
return nil, err
}

log.Debugf("tls", "loading certificate: %v and key %v", certificate, key)
log.Debugf("Loading certificate: %v and key %v", certificate, key)
return &cert, nil
}

Expand Down Expand Up @@ -169,7 +169,7 @@ func LoadCertificateAuthorities(CAs []string) (*x509.CertPool, []error) {
errors = append(errors, fmt.Errorf("%v adding %v to the list of known CAs", ErrNotACertificate, r))
continue
}
log.Debugf("tls", "successfully loaded CA certificate: %v", r)
log.Debugf("Successfully loaded CA certificate: %v", r)
}

return roots, errors
Expand Down

0 comments on commit 6a87069

Please sign in to comment.