How do I check my logs?

You can look at your logs to see if you have some errors indicating that something is not functioning properly:

docker logs storagenode
docker logs storagenode

Use this command if you just want to see the last 20 lines of the log:

docker logs --tail 20 storagenode
docker logs --tail 20 storagenode

For CLI Docker install on Windows, if you would like to copy your logs to a file you can follow this link How do I redirect my logs to a file? or you can execute the following command in PowerShell, inserting your actual path to your log file instead of “pathtologfile”

Get-Content "pathtologfile" -Tail 20 -Wait
Get-Content "pathtologfile" -Tail 20 -Wait

For CLI Linux and MacOS install, if you have redirected your logs to a file, please use your preferred editor to view the contents of the log file.

Previous
How do I check my L2 zkSync payouts?