Skip to content

Commit

Permalink
* Adding debug printouts to originator drop decision points
Browse files Browse the repository at this point in the history
  • Loading branch information
jredmondson committed Mar 25, 2019
1 parent 18af4a6 commit cce2515
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/madara/transport/Transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ int process_received_update(const char* buffer, uint32_t bytes_read,
{
madara_logger_log(context.get_logger(), logger::LOG_MINOR,
"%s:"
" processing KaRL message from %s\n",
print_prefix, remote_host);
" %s: processing KaRL message from %s\n",
print_prefix, id.c_str(), remote_host);

header = new MessageHeader();
}
Expand Down Expand Up @@ -253,8 +253,8 @@ int process_received_update(const char* buffer, uint32_t bytes_read,
{
madara_logger_log(context.get_logger(), logger::LOG_MAJOR,
"%s:"
" dropping message from ourself\n",
print_prefix);
" %s: dropping message from ourself\n",
print_prefix, id.c_str());

return -2;
}
Expand Down

0 comments on commit cce2515

Please sign in to comment.