vrancurel / dcss

Decentralized Secure Storage with the Ethereum Blockchain
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Add a logging framework #52

Closed slaperche-scality closed 6 years ago

slaperche-scality commented 6 years ago

Exemple of output:

With default parameters:

% ./quadiron
2018-05-18T09:52:50 [INFO] simulator: nodes initialization
2018-05-18T09:52:50 [INFO] simulator: creating node 1000/1500
2018-05-18T09:52:50 [INFO] simulator: creating inter-nodes connections...
2018-05-18T09:52:54 [INFO] simulator: connecting node 1000/1500
2018-05-18T09:52:55 [INFO] simulator: files initialization
2018-05-18T09:53:05 [INFO] simulator: creating file 1000/5000
2018-05-18T09:53:17 [INFO] simulator: creating file 2000/5000
2018-05-18T09:53:28 [INFO] simulator: creating file 3000/5000
2018-05-18T09:53:39 [INFO] simulator: creating file 4000/5000
2018-05-18T09:53:49 [INFO] simulator: creating file 5000/5000
2018-05-18T09:53:49 [INFO] simulator: files checking
2018-05-18T09:54:00 [INFO] simulator: checking file 1000/5000
2018-05-18T09:54:11 [INFO] simulator: checking file 2000/5000
2018-05-18T09:54:22 [INFO] simulator: checking file 3000/5000
2018-05-18T09:54:33 [INFO] simulator: checking file 4000/5000
2018-05-18T09:54:44 [INFO] simulator: checking file 5000/5000
2018-05-18T09:54:44 [INFO] simulator: 0/5000 files wrongly stored
quadiron>