mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Refactor log context name
This commit is contained in:
parent
4005a9e8cb
commit
7441e57d36
@ -20,7 +20,7 @@ package org.wso2.carbon.device.mgt.core.notification.mgt;
|
||||
|
||||
import io.entgra.device.mgt.extensions.logger.spi.EntgraLogger;
|
||||
import io.entgra.notification.logger.DeviceLogContext;
|
||||
import io.entgra.notification.logger.impl.EntgraLoggerImpl;
|
||||
import io.entgra.notification.logger.impl.EntgraDeviceLoggerImpl;
|
||||
import org.wso2.carbon.device.mgt.common.Device;
|
||||
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
|
||||
import org.wso2.carbon.device.mgt.common.exceptions.DeviceManagementException;
|
||||
@ -46,7 +46,7 @@ import java.util.List;
|
||||
*/
|
||||
public class NotificationManagementServiceImpl implements NotificationManagementService {
|
||||
|
||||
private static final EntgraLogger log = new EntgraLoggerImpl(NotificationManagementServiceImpl.class);
|
||||
private static final EntgraLogger log = new EntgraDeviceLoggerImpl(NotificationManagementServiceImpl.class);
|
||||
DeviceLogContext.Builder deviceLogContexBuilder = new DeviceLogContext.Builder();
|
||||
private NotificationDAO notificationDAO;
|
||||
|
||||
|
||||
@ -27,11 +27,11 @@ import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.log4j.MDC;
|
||||
|
||||
|
||||
public class EntgraLoggerImpl implements EntgraLogger {
|
||||
public class EntgraDeviceLoggerImpl implements EntgraLogger {
|
||||
|
||||
private static Log log = null;
|
||||
|
||||
public EntgraLoggerImpl(Class<?> clazz) {
|
||||
public EntgraDeviceLoggerImpl(Class<?> clazz) {
|
||||
log = LogFactory.getLog(clazz);
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<parent>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>carbon-devicemgt</artifactId>
|
||||
<version>5.0.17-SNAPSHOT</version>
|
||||
<version>5.0.21-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user