Merge pull request #1715 from ipfs-cluster/api/improve-tls-debug-logging
api: improve tls setup debug logging
This commit is contained in:
commit
44c41b2342
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user