Skip to content

Commit

Permalink
Add note regarding stop/starts and log clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
supermario committed Feb 5, 2021
1 parent 7f6f881 commit aef14dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Simply run the relevant binary on your system where the Concordium Node has been
**⚠️ These files must be submitted without modifications. Tampering with the summary log will be detected and result in disqualification from all challenges.**




## Log sizes

After running the node for a significant time you may find that you are running out of disk space on your node.
Expand All @@ -38,6 +36,8 @@ If you cannot run it (it fails/breaks), move onto step 2.

If (1) did not succeed, or you just wish to clear some space, try these commands to strip out excess lines in your log:

**⚠️ You must shut down your node before you do this, otherwise you might corrupt your entire logs! ⚠️**

Linux:
```
sed -i "/priority/d" `docker inspect --format='{{.LogPath}}' concordium-client`
Expand All @@ -64,6 +64,8 @@ If this succeeds, great! Nothing more to do.

If this fails, move onto (3).

**⚠️ When you restart your node, answer "No" to changing your nodeID (the default) to keep existing logs ⚠️**


### 3. Advanced log extraction options

Expand Down

0 comments on commit aef14dd

Please sign in to comment.