ignore sqlite WAL journals in git; increase logging priority of attestation/block sending (#1590)

* ignore sqlite WAL journal files in git; switch attestation resolved from info to debug

* promote sent attestations/blocks to notice rather than demote resolved attestations/blocks to debug
This commit is contained in:
tersec 2020-08-31 14:34:04 +00:00 committed by Mamy Ratsimbazafy
parent a52b0436fd
commit 1fefe2bb19
3 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -30,6 +30,8 @@ build/
*.ssz
*.log
*.sqlite3
*.sqlite3-shm
*.sqlite3-wal
/local_testnet_data*/
/local_testnet*_data*/

View File

@ -9,7 +9,7 @@
import
# Standard library
std/[sequtils, sets, tables, typetraits],
std/[sequtils, sets, tables],
# Status libraries
stew/results, chronicles,
# Internal

View File

@ -152,7 +152,7 @@ proc createAndSendAttestation(node: BeaconNode,
if node.config.dumpEnabled:
dump(node.config.dumpDirOutgoing, attestation.data, validator.pubKey)
info "Attestation sent",
notice "Attestation sent",
attestation = shortLog(attestation),
validator = shortLog(validator),
indexInCommittee = indexInCommittee
@ -249,7 +249,7 @@ proc proposeSignedBlock*(node: BeaconNode,
return head
info "Block proposed",
notice "Block proposed",
blck = shortLog(newBlock.message),
blockRoot = shortLog(newBlockRef[].root),
validator = shortLog(validator)