summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc
index 4c6157c48d..b0821a0890 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_ui_update_file_notification.cc
@@ -40,6 +40,8 @@ namespace sdl_rpc_plugin {
using namespace application_manager;
namespace commands {
+SDL_CREATE_LOG_VARIABLE("Commands")
+
OnUIUpdateFileNotification::OnUIUpdateFileNotification(
const application_manager::commands::MessageSharedPtr& message,
ApplicationManager& application_manager,
@@ -55,7 +57,7 @@ OnUIUpdateFileNotification::OnUIUpdateFileNotification(
OnUIUpdateFileNotification::~OnUIUpdateFileNotification() {}
void OnUIUpdateFileNotification::Run() {
- LOG4CXX_AUTO_TRACE(logger_);
+ SDL_LOG_AUTO_TRACE();
// Prepare SmartObject for mobile factory
(*message_)[strings::params][strings::function_id] =
@@ -66,8 +68,7 @@ void OnUIUpdateFileNotification::Run() {
auto app = application_manager_.application(app_id);
if (!app) {
- LOG4CXX_ERROR(logger_,
- "Application with app_id " << app_id << " is not registered");
+ SDL_LOG_ERROR("Application with app_id " << app_id << " is not registered");
return;
}