Change log level (#1319)

Fix #1205
This commit is contained in:
cyan317
2024-04-08 13:21:37 +01:00
committed by GitHub
parent 48b0a7690c
commit 8095e6893d
4 changed files with 17 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ ProposedTransactionFeed::sub(SubscriberSharedPtr const& subscriber)
});
if (added) {
LOG(logger_.debug()) << subscriber->tag() << "Subscribed tx_proposed";
LOG(logger_.info()) << subscriber->tag() << "Subscribed tx_proposed";
++subAllCount_.get();
subscriber->onDisconnect.connect([this](SubscriberPtr connection) { unsubInternal(connection); });
}
@@ -72,7 +72,7 @@ ProposedTransactionFeed::sub(ripple::AccountID const& account, SubscriberSharedP
}
);
if (added) {
LOG(logger_.debug()) << subscriber->tag() << "Subscribed accounts_proposed " << account;
LOG(logger_.info()) << subscriber->tag() << "Subscribed accounts_proposed " << account;
++subAccountCount_.get();
subscriber->onDisconnect.connect([this, account](SubscriberPtr connection) {
unsubInternal(account, connection);
@@ -129,7 +129,7 @@ void
ProposedTransactionFeed::unsubInternal(SubscriberPtr subscriber)
{
if (signal_.disconnect(subscriber)) {
LOG(logger_.debug()) << subscriber->tag() << "Unsubscribed tx_proposed";
LOG(logger_.info()) << subscriber->tag() << "Unsubscribed tx_proposed";
--subAllCount_.get();
}
}
@@ -138,7 +138,7 @@ void
ProposedTransactionFeed::unsubInternal(ripple::AccountID const& account, SubscriberPtr subscriber)
{
if (accountSignal_.disconnect(subscriber, account)) {
LOG(logger_.debug()) << subscriber->tag() << "Unsubscribed accounts_proposed " << account;
LOG(logger_.info()) << subscriber->tag() << "Unsubscribed accounts_proposed " << account;
--subAccountCount_.get();
}
}