Change log level at registerProposalAsBallot. Don't log full filter at onFilterAddedFromNetwork

This commit is contained in:
chimp1984 2020-11-02 12:51:41 -05:00
parent e082ac667e
commit 483116dcd0
No known key found for this signature in database
GPG key ID: 9801B4EC591F90E3
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ public class BallotListService implements PersistedDataHost, DaoSetupService {
private void registerProposalAsBallot(Proposal proposal) {
Ballot ballot = new Ballot(proposal); // vote is null
if (log.isInfoEnabled()) {
log.info("We create a new ballot with a proposal and add it to our list. " +
log.debug("We create a new ballot with a proposal and add it to our list. " +
"Vote is null at that moment. proposalTxId={}", proposal.getTxId());
}
if (ballotList.contains(ballot)) {

View file

@ -466,7 +466,7 @@ public class FilterManager {
Filter currentFilter = getFilter();
if (!isFilterPublicKeyInList(newFilter)) {
log.warn("isFilterPublicKeyInList failed. Filter={}", newFilter);
log.warn("isFilterPublicKeyInList failed. Filter.getSignerPubKeyAsHex={}", newFilter.getSignerPubKeyAsHex());
return;
}
if (!isSignatureValid(newFilter)) {