Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Latest commit

 

History

History
52 lines (27 loc) · 1.8 KB

logs.md

File metadata and controls

52 lines (27 loc) · 1.8 KB

Logs

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.

Log submission

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.

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.

⚠️ These files must be submitted without modifications. Tampering with the summary log will be detected and result in disqualification from all challenges.

Log sizes & rotation

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.

⚠️ Make sure you generate log summaries for submission before clearing any logs!

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.