diff options
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/on_system_request_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/on_system_request_notification.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc index f94e37407f..d98c3d31d1 100644 --- a/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc +++ b/src/components/application_manager/src/commands/mobile/on_system_request_notification.cc @@ -52,16 +52,16 @@ OnSystemRequestNotification::OnSystemRequestNotification( OnSystemRequestNotification::~OnSystemRequestNotification() {} void OnSystemRequestNotification::Run() { - LOG4CXX_AUTO_TRACE(logger_); + LOGGER_AUTO_TRACE(logger_); using namespace application_manager; using namespace mobile_apis; ApplicationSharedPtr app = application_manager_.application(connection_key()); if (!app.valid()) { - LOG4CXX_ERROR(logger_, - "Application with connection key " << connection_key() - << " is not registered."); + LOGGER_ERROR(logger_, + "Application with connection key " << connection_key() + << " is not registered."); return; } @@ -71,9 +71,9 @@ void OnSystemRequestNotification::Run() { application_manager_.GetPolicyHandler(); if (!policy_handler.IsRequestTypeAllowed(app->policy_app_id(), request_type)) { - LOG4CXX_WARN(logger_, - "Request type " << request_type - << " is not allowed by policies"); + LOGGER_WARN(logger_, + "Request type " << request_type + << " is not allowed by policies"); return; } @@ -103,7 +103,7 @@ void OnSystemRequestNotification::Run() { #ifdef EXTENDED_POLICY void OnSystemRequestNotification::AddHeader(BinaryMessage& message) const { - LOG4CXX_AUTO_TRACE(logger_); + LOGGER_AUTO_TRACE(logger_); const int timeout = application_manager_.GetPolicyHandler().TimeoutExchange(); char size_str[24]; @@ -147,8 +147,8 @@ void OnSystemRequestNotification::AddHeader(BinaryMessage& message) const { message.clear(); message.assign(header.begin(), header.end()); - LOG4CXX_DEBUG( - logger_, "Header added: " << std::string(message.begin(), message.end())); + LOGGER_DEBUG(logger_, + "Header added: " << std::string(message.begin(), message.end())); } #endif |