Commit 31df841a authored by Dominik Charousset's avatar Dominik Charousset

Add more logging output

parent 9294a28f
...@@ -206,7 +206,9 @@ public: ...@@ -206,7 +206,9 @@ public:
protected: protected:
void about_to_erase(outbound_path* ptr, bool silent, void about_to_erase(outbound_path* ptr, bool silent,
error* reason) override { error* reason) override {
CAF_LOG_DEBUG("remove cache:" << CAF_ARG2("slot", ptr->slots.sender)); CAF_ASSERT(ptr != nullptr);
CAF_LOG_TRACE(CAF_ARG2("slot", ptr->slots.sender) << CAF_ARG(silent) <<
CAF_ARG(reason));
state_map_.erase(ptr->slots.sender); state_map_.erase(ptr->slots.sender);
super::about_to_erase(ptr, silent, reason); super::about_to_erase(ptr, silent, reason);
} }
......
...@@ -843,6 +843,7 @@ void scheduled_actor::erase_inbound_path_later(stream_slot slot) { ...@@ -843,6 +843,7 @@ void scheduled_actor::erase_inbound_path_later(stream_slot slot) {
} }
void scheduled_actor::erase_inbound_path_later(stream_slot slot, error reason) { void scheduled_actor::erase_inbound_path_later(stream_slot slot, error reason) {
CAF_LOG_TRACE(CAF_ARG(slot) << CAF_ARG(reason));
auto& q = get_downstream_queue(); auto& q = get_downstream_queue();
auto e = q.queues().end(); auto e = q.queues().end();
auto i = q.queues().find(slot); auto i = q.queues().find(slot);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment