Merge pull request #4738 from chimp1984/improve-logs

Change log level at registerProposalAsBallot. Don't log full filter a…
This commit is contained in:
Christoph Atteneder 2020-11-03 09:07:11 +01:00 committed by GitHub
commit b49a3eb15b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)) {