Skip to content

Commit a1ed231

Browse files
committed
print tls info
1 parent d464c61 commit a1ed231

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

server/runtime.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ func NewRuntime(ctx context.Context, name string, options ...Option) (Runtime, e
130130
r.logger, _ = log.NewNop()
131131
}
132132

133-
r.logger.Infow("TLS info", "key-file", r.keyFile, "cert-file", r.certFile, "client-ca", r.clientCA)
133+
r.logger.Infow("TLS info", "key-file", r.keyFile, "cert-file", r.certFile, "client-ca", r.clientCA,
134+
"gw-client-key-file", r.gwClientKeyFile, "gw-client-cert-file", r.gwClientCertFile)
135+
134136
if !r.isSecureConnection() {
135137
r.logger.Warn("no TLS key specified. starting server insecurely....")
136138
}

0 commit comments

Comments
 (0)