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

Commit ff737e0

Browse files
authored
Merge pull request #1086 from supermario/logs-submission-tool
New log submissions process and tooling
2 parents 9cfa6a5 + ce2928c commit ff737e0

File tree

2 files changed

+57
-4
lines changed

2 files changed

+57
-4
lines changed

logs.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## Logs
2+
3+
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.
4+
5+
6+
7+
### Log submission
8+
9+
For B1/B2/B6 challenges, proof of runtime via logs is required.
10+
11+
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.
12+
13+
- [Download retrieve_minified_logs for Linux](https://client-distribution-testnet.concordium.com/retrieve_minified_logs-linux-v1)
14+
- [Download retrieve_minified_logs for OS X](https://client-distribution-testnet.concordium.com/retrieve_minified_logs-macos-v1)
15+
- [Download retrieve_minified_logs for Windows](https://client-distribution-testnet.concordium.com/retrieve_minified_logs-windows-v1.exe)
16+
17+
18+
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.
19+
20+
**⚠️ These files must be submitted without modifications. Tampering with the summary log will be detected and result in disqualification from all challenges.**
21+
22+
23+
24+
### Log sizes & rotation
25+
26+
After running the node for a significant time you may find that you are running out of disk space on your node.
27+
28+
You can find your log file location by running:
29+
30+
```
31+
docker inspect --format='{{.LogPath}}' <container_name_or_id>
32+
```
33+
34+
Where the `<container_name_or_id>` is found by running `docker ps -a`.
35+
36+
37+
**⚠️ Make sure you generate log summaries for submission _before_ clearing any logs!**
38+
39+
40+
You can then clear out your current logs via the command line:
41+
42+
```
43+
# On OSX / Linux
44+
truncate -s 0 <log_path>
45+
46+
# On Windows
47+
echo.> <log_path>
48+
```
49+
50+
Repeat this process if the log size gets too large again.
51+
52+
Make sure to submit all your log summaries if you're doing any of the B1/B2/B6 challenges.

status.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ The purpose of this document is to provide real-time information when it comes t
2121
* ⚠️ On Sunday, October 25th, between 5am and 11am BST, there might be disruption in the identity issuing service, due to scheduled maintenance on the side of our identity issuer.
2222

2323

24-
### ⚠️ Challenges & supporting tooling
24+
### ✅ Challenges & supporting tooling
25+
26+
* No known major issues
27+
28+
See [Issues](https://github.com/Concordium/Testnet3-Challenges/issues) for existing reports & statuses before posting an issue.
2529

26-
* Investigating: Known issue for large log size submission for challenges requiring it.
27-
* No need to post logs for now, just keep the logs until we advise the changed submission process.
28-
* This will also cover the out-of-memory issues with `concordium-node-retrieve-logs`
2930

3031
### FAQs and Troubleshooting
3132

0 commit comments

Comments
 (0)