Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Tune down log level
Browse files Browse the repository at this point in the history
  • Loading branch information
vihu committed Sep 16, 2020
1 parent 586112f commit 7da0b47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/transactions/v1/blockchain_txn_poc_receipts_v1.erl
Expand Up @@ -1081,7 +1081,7 @@ valid_receipt(PreviousElement, Element, Channel, Ledger) ->
true ->
case blockchain_poc_receipt_v1:channel(Receipt) == Channel of
true ->
lager:info("receipt ok"),
lager:debug("receipt ok"),
Receipt;
false ->
lager:warning("receipt ~p -> ~p rejected at height ~p for channel ~p /= ~p RSSI ~p SNR ~p",
Expand Down Expand Up @@ -1155,7 +1155,7 @@ valid_witnesses(Element, Channel, Ledger) ->
true ->
case blockchain_poc_witness_v1:channel(Witness) == Channel of
true ->
lager:info("witness ok"),
lager:debug("witness ok"),
true;
false ->
lager:warning("witness ~p -> ~p rejected at height ~p for channel ~p /= ~p RSSI ~p SNR ~p",
Expand Down
2 changes: 1 addition & 1 deletion src/transactions/v1/blockchain_txn_rewards_v1.erl
Expand Up @@ -507,7 +507,7 @@ poc_challengees_rewards_(Version, [Elem|Path], StaticPath, Txn, Chain, Ledger, I
ElemPos = blockchain_utils:index_of(Elem, StaticPath),
WitnessChannel = lists:nth(ElemPos, Channels),
ValidWitnesses = blockchain_txn_poc_receipts_v1:valid_witnesses(Elem, WitnessChannel, Ledger),
lager:info("ValidWitnesses: ~p", [[blockchain_utils:addr2name(blockchain_poc_witness_v1:gateway(W)) || W <- ValidWitnesses]]),
lager:debug("ValidWitnesses: ~p", [[blockchain_utils:addr2name(blockchain_poc_witness_v1:gateway(W)) || W <- ValidWitnesses]]),
ValidWitnesses
catch What:Why:ST ->
lager:error("failed to calculate poc_challengees_rewards, error ~p:~p:~p", [What, Why, ST]),
Expand Down

0 comments on commit 7da0b47

Please sign in to comment.