Merge pull request #1715 from ipfs-cluster/api/improve-tls-debug-logging

api: improve tls setup debug logging
This commit is contained in:
Hector Sanjuan 2022-06-20 22:06:29 +02:00 committed by GitHub
commit 44c41b2342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,8 +306,9 @@ func (cfg *Config) tlsOptions(jcfg *jsonConfig) error {
key = filepath.Join(cfg.BaseDir, key)
}
cfg.Logger.Debug(cfg.BaseDir)
cfg.Logger.Debug(cert, key)
cfg.Logger.Debug("baseDir: ", cfg.BaseDir)
cfg.Logger.Debug("cert path: ", cert)
cfg.Logger.Debug("key path: ", key)
tlsCfg, err := newTLSConfig(cert, key)
if err != nil {