mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 06:47:51 +08:00
chore: rename logger to autotls
This commit is contained in:
parent
e6e0b7a1dc
commit
ed7e20171d
@ -139,7 +139,7 @@ func P2PForgeCertMgr(cfg config.AutoTLS) interface{} {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
forgeLogger := logging.Logger("p2p-forge/client").Desugar()
|
||||
forgeLogger := logging.Logger("autotls").Desugar()
|
||||
// TODO: revisit is below is still needed.
|
||||
// seems that certmagic is written in a way that logs things using default logger
|
||||
// before a custom one is set, this is the only way to ensure we don't lose
|
||||
|
||||
@ -1761,7 +1761,7 @@ and SNI is matching `Swarm.AutoTLS.DomainSuffix`, and set up a trusted TLS certi
|
||||
|
||||
If you want to test this, add `/ip4/0.0.0.0/tcp/4082/tls/sni/*.libp2p.direct/ws` to [`Addresses.Swarm`](#addressesswarm).
|
||||
|
||||
Debugging can be enabled by setting environment variable `GOLOG_LOG_LEVEL="error,p2p-forge/client=debug"`
|
||||
Debugging can be enabled by setting environment variable `GOLOG_LOG_LEVEL="error,autotls=debug,p2p-forge/client=debug"`
|
||||
|
||||
Default: `false`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user