Currently for the OT3 release fairly verbose logging is enabled by default for the node software. Approx 2GB of logs per day is generated by a continually running node.
For B1/B2/B6 challenges, proof of runtime via logs is required.
We've created a small tool retrieve_minified_logs
to sample your full set of log files and output a summary that is acceptable for submission.
- Download retrieve_minified_logs for Linux
- Download retrieve_minified_logs for OS X
- Download retrieve_minified_logs for Windows
Simply run the relevant binary on your system where the Concordium Node has been running. The tool will output two files in the folder it is run.
After running the node for a significant time you may find that you are running out of disk space on your node.
You can find your log file location by running:
docker inspect --format='{{.LogPath}}' <container_name_or_id>
Where the <container_name_or_id>
is found by running docker ps -a
.
You can then clear out your current logs via the command line:
# On OSX / Linux
truncate -s 0 <log_path>
# On Windows
echo.> <log_path>
Repeat this process if the log size gets too large again.
Make sure to submit all your log summaries if you're doing any of the B1/B2/B6 challenges.