How can I turn on the log messages throughout the go-libp2p codebase? It seems mostly ipfs/go-log
is used but I don’t understand how to enable/modify the log levels.
You can export the environment variable IPFS_LOGGING
.
For instance, to see info and up do IPFS_LOGGING=info
.
If you want to get inundated (but it helps with debugging), do IPFS_LOGGING=debug
.
1 Like