filecoin-project / go-fil-markets

Shared Implementation of Storage and Retrieval Markets for Filecoin Node Implementations
Other
78 stars 59 forks source link

How to output the log of this package in Lotus #742

Closed s1mple1122 closed 2 years ago

s1mple1122 commented 2 years ago

DEBUG=true or log=DEBUG cant output

rvagg commented 2 years ago

See https://github.com/ipfs/go-log/ for detailed instructions. So something like GOLOG_LOG_LEVEL="storagemrkt=debug" should do it, but you need to find the specific logger you want, different packages in here have different loggers: https://github.com/filecoin-project/go-fil-markets/search?q=logging.Logger

I hope that helps.