Commit 8ee40cc1 authored by Dominik Charousset's avatar Dominik Charousset

Downgrade warning from remote_actor() to info

This patch downgrades the "remote_actor() called to access a local actor"
warning to an info log entry. This is a followup to #132 and has been an
oversight in the last patch on this issue.
parent 02f45c0b
...@@ -182,7 +182,7 @@ abstract_actor_ptr remote_actor_impl(stream_ptr_pair io, string_set expected) { ...@@ -182,7 +182,7 @@ abstract_actor_ptr remote_actor_impl(stream_ptr_pair io, string_set expected) {
auto pinfptr = make_counted<node_id>(peer_pid, peer_node_id); auto pinfptr = make_counted<node_id>(peer_pid, peer_node_id);
if (*pinf == *pinfptr) { if (*pinf == *pinfptr) {
// this is a local actor, not a remote actor // this is a local actor, not a remote actor
CPPA_LOGF_WARNING("remote_actor() called to access a local actor"); CPPA_LOGF_INFO("remote_actor() called to access a local actor");
auto ptr = get_actor_registry()->get(remote_aid); auto ptr = get_actor_registry()->get(remote_aid);
return ptr; return ptr;
} }
......
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