Skip to content

Commit

Permalink
Fix format of debug messages in tlscommon (elastic#21482)
Browse files Browse the repository at this point in the history
(cherry picked from commit 39e144d)
  • Loading branch information
jsoriano committed Oct 2, 2020
1 parent 3ed3a8c commit f5b4c81
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 @@ -63,7 +63,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 @@ -152,7 +152,7 @@ func LoadCertificateAuthorities(CAs []string) (*x509.CertPool, []error) {
errors = append(errors, fmt.Errorf("%v adding %v to the list of known CAs", ErrNotACertificate, path))
continue
}
log.Debugf("tls", "successfully loaded CA certificate: %v", path)
log.Debugf("Successfully loaded CA certificate: %v", path)
}

return roots, errors
Expand Down

0 comments on commit f5b4c81

Please sign in to comment.