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, or in your terminal (replace the path /path/to/the/log/file.log with the correct path):

cat /path/to/the/log/file.log
cat /path/to/the/log/file.log
Previous
How do I check my L2 zkSync payouts?