Improve: DEBUG messages.
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 13 Mar 2017 22:11:52 +0000 (23:11 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:15:55 +0000 (17:15 +0100)
Change-Id: Ib52f22e7bc5bc5d14edbb31ad6006caee23c4098
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can/can-bus.cpp
src/utils/signals.cpp

index ebfd7ce..6483fd9 100644 (file)
@@ -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
index 9e71929..1ce932d 100644 (file)
@@ -71,6 +71,6 @@ std::vector<std::string> 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;
 }