Restore /etc/dev-mapping.conf support
[apps/agl-service-can-low-level.git] / low-can-binding / utils / config-parser.cpp
index 8ccf5bc..589f034 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2015, 2016 ,2017 "IoT.bzh"
+ * Copyright (C) 2021 Konsulko Group
  * Author "Romain Forlot" <romain.forlot@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -39,11 +40,11 @@ namespace utils
        {
                if (config_content_.size() <= 0)
                {
-                       ERROR("Can't load the INI config file.");
+                       AFB_INFO("Cannot load INI config file: %s.", filepath_.c_str());
                        return false;
                }
-                       DEBUG("Configuration file parsed");
-                       return true;
+               AFB_DEBUG("Configuration file parsed");
+               return true;
        }
 
        /// @brief Public method to access devices_name_ vector. If vector size equal 0
@@ -64,4 +65,4 @@ namespace utils
 
                return devices_name;
        }
-}
\ No newline at end of file
+}