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

@@ -50,7 +50,7 @@ SingleFeedBase::sub(SubscriberSharedPtr const& subscriber)
});
if (added) {
LOG(logger_.debug()) << subscriber->tag() << "Subscribed " << name_;
LOG(logger_.info()) << subscriber->tag() << "Subscribed " << name_;
++subCount_.get();
subscriber->onDisconnect.connect([this](SubscriberPtr connectionDisconnecting) {
unsubInternal(connectionDisconnecting);
@@ -83,7 +83,7 @@ void
SingleFeedBase::unsubInternal(SubscriberPtr subscriber)
{
if (signal_.disconnect(subscriber)) {
LOG(logger_.debug()) << subscriber->tag() << "Unsubscribed " << name_;
LOG(logger_.info()) << subscriber->tag() << "Unsubscribed " << name_;
--subCount_.get();
}
}