Debug logs in restic

Hey, I’m trying to log the problems encountered in a Windows system. How do I create debug log? I ran go run build.go using the tag–debug. How should I go about this?

See this piece of text for information on creating debug logs: Participating — restic 0.15.2 documentation

Hey I checked it out, but I’m a little confused about the file path that has to specified in the DEBUG_LOG =…

What is it you want to debug, exactly?

The check command and I want to store the debug logs in a text file.

Then just run DEBUG_LOG=logfile.txt restic check

Thank you so much, I’m able to log them now.