From 44d1b6981371abd386143b9b5cb6718e44494ac5 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Tue, 18 Jun 2019 16:56:45 -0400 Subject: Update the right classname in the loggers Issue-ID: POLICY-1791 Signed-off-by: Rashmi Pujar Change-Id: I57de01a329fed8ef043103f157a242f47e607452 --- .../java/org/onap/policy/drools/lifecycle/LifecycleStateActive.java | 3 ++- .../java/org/onap/policy/drools/lifecycle/LifecycleStateDefault.java | 3 ++- .../java/org/onap/policy/drools/lifecycle/LifecycleStateRunning.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateActive.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateActive.java index 2dacdd1d..5e779b7f 100644 --- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateActive.java +++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateActive.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 Bell Canada. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,7 +37,7 @@ import org.slf4j.LoggerFactory; */ @ToString public class LifecycleStateActive extends LifecycleStateRunning { - private static final Logger logger = LoggerFactory.getLogger(LifecycleStatePassive.class); + private static final Logger logger = LoggerFactory.getLogger(LifecycleStateActive.class); protected LifecycleStateActive(LifecycleFsm manager) { super(manager); diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateDefault.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateDefault.java index db5d610a..a9cf568d 100644 --- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateDefault.java +++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateDefault.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 Bell Canada. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,7 +34,7 @@ import org.slf4j.LoggerFactory; */ public abstract class LifecycleStateDefault extends LifecycleStateUnsupported { - private static final Logger logger = LoggerFactory.getLogger(LifecycleState.class); + private static final Logger logger = LoggerFactory.getLogger(LifecycleStateDefault.class); protected LifecycleStateDefault(LifecycleFsm manager) { super(manager); diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateRunning.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateRunning.java index f50eab51..d5820d08 100644 --- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateRunning.java +++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleStateRunning.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 Bell Canada. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +40,7 @@ import org.slf4j.LoggerFactory; */ public abstract class LifecycleStateRunning extends LifecycleStateDefault { - private static final Logger logger = LoggerFactory.getLogger(LifecycleState.class); + private static final Logger logger = LoggerFactory.getLogger(LifecycleStateRunning.class); protected abstract boolean stateChangeToPassive(@NonNull PdpStateChange change); -- cgit 1.2.3-korg