How do I see the logs and change the log levels (go-ipfs)?

From @harlantwood on Fri Jun 17 2016 05:08:47 GMT+0000 (UTC)

Answer: this works well:

IPFS_LOGGING=<level> ipfs daemon

…where is the log level, with ‘debug’ the most verbose and ‘critical’ the least verbose. Possible values of : debug, info, notice, warning, error, critical.

Some more useful discussion here: IPFS daemon info logs · Issue #1816 · ipfs/kubo · GitHub.


Copied from original issue: How do I see the logs and change the log levels (go-ipfs)? · Issue #134 · ipfs-inactive/faq · GitHub