summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/policies/policy_event_observer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/policies/policy_event_observer.cc')
-rw-r--r--src/components/application_manager/src/policies/policy_event_observer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/application_manager/src/policies/policy_event_observer.cc b/src/components/application_manager/src/policies/policy_event_observer.cc
index 7ca4d7b5b8..af44fd033f 100644
--- a/src/components/application_manager/src/policies/policy_event_observer.cc
+++ b/src/components/application_manager/src/policies/policy_event_observer.cc
@@ -40,7 +40,7 @@ namespace policy {
using namespace application_manager;
class PolicyHandler;
-CREATE_LOGGERPTR_GLOBAL(logger_, "PolicyHandler")
+SDL_CREATE_LOG_VARIABLE("PolicyHandler")
PolicyEventObserver::PolicyEventObserver(
policy::PolicyHandlerInterface* const policy_handler,
@@ -49,9 +49,9 @@ PolicyEventObserver::PolicyEventObserver(
void PolicyEventObserver::set_policy_handler(
PolicyHandlerInterface* const policy_handler) {
- LOG4CXX_AUTO_TRACE(logger_);
+ SDL_LOG_AUTO_TRACE();
sync_primitives::AutoLock auto_lock(policy_handler_lock_);
- LOG4CXX_DEBUG(logger_, "Set policy handler " << policy_handler);
+ SDL_LOG_DEBUG("Set policy handler " << policy_handler);
policy_handler_ = policy_handler;
}