chore: rename logger to autotls

This commit is contained in:
Marcin Rataj 2024-10-28 19:30:51 +01:00
parent e6e0b7a1dc
commit ed7e20171d
No known key found for this signature in database
GPG Key ID: 222B6784D5A79E42
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`