Created Log levels (markdown)

Mamy Ratsimbazafy 2019-07-15 16:04:32 +02:00
parent 91cb103156
commit 8aa5f09ba1
1 changed files with 6 additions and 0 deletions

6
Log-levels.md Normal file

@ -0,0 +1,6 @@
from https://github.com/status-im/nim-beacon-chain/issues/205
* `NOT` noteworthy events that are unusual as far as normal operation goes: (deep?) chain reorgs, slashings etc
* `INF` logs anything that is sufficient to recreate the state along important checkpoints in the application, but does so in a minimal way, so as not to overwhelm log collectors - minimal in this sense means that it strives to avoid duplicating the same information - kind of like a normalized database - people running the app on a server should not be discouraged from always keeping INF on
* `DBG` denormalizes the above and adds more checkpoints - repetition for convenience is ok, but we still keep it out of tight loops - developers will have this on by default
* `TRC` anything goes