From: Romain Forlot Date: Mon, 13 Mar 2017 22:11:52 +0000 (+0100) Subject: Improve: DEBUG messages. X-Git-Tag: 3.99.1~282 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=990b25bf850f797f499a326713cad1f7076ab8d1;p=apps%2Flow-level-can-service.git Improve: DEBUG messages. Change-Id: Ib52f22e7bc5bc5d14edbb31ad6006caee23c4098 Signed-off-by: Romain Forlot --- diff --git a/src/can/can-bus.cpp b/src/can/can-bus.cpp index ebfd7ce..6483fd9 100644 --- a/src/can/can-bus.cpp +++ b/src/can/can-bus.cpp @@ -121,7 +121,7 @@ int can_bus_t::process_diagnostic_signals(active_diagnostic_request_t* entry, co processed_signals++; } else - DEBUG(binder_interface, "Fatal error sending or receiving diagnostic request"); + DEBUG(binder_interface, "process_diagnostic_signals: Fatal error sending or receiving diagnostic request"); } else if(!response.completed && response.multi_frame) // Reset the timeout clock while completing the multi-frame receive diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp index 9e71929..1ce932d 100644 --- a/src/utils/signals.cpp +++ b/src/utils/signals.cpp @@ -71,6 +71,6 @@ std::vector find_signals(const openxc_DynamicField &key) ERROR(binder_interface, "find_signals: wrong openxc_DynamicField specified. Use openxc_DynamicField_Type_NUM or openxc_DynamicField_Type_STRING type only."); break; } - DEBUG(binder_interface, "Found %d signal(s)", (int)found_signals_name.size()); + DEBUG(binder_interface, "find_signals: Found %d signal(s)", (int)found_signals_name.size()); return found_signals_name; }