Change log header to pkgmgrinfo_debug.h
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 12 Mar 2021 03:44:33 +0000 (12:44 +0900)
committer최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 <changyu.choi@samsung.com>
Fri, 12 Mar 2021 04:10:23 +0000 (13:10 +0900)
This patch remove "debug.h" in common.
It is duplecated with pkgmgrinfo_debug.h

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/common/debug.h [deleted file]
src/common/socket/abstract_socket.cc
src/common/socket/client_socket.cc
src/common/socket/server_socket.cc
src/pkgmgrinfo_debug.h

diff --git a/src/common/debug.h b/src/common/debug.h
deleted file mode 100644 (file)
index 3edc460..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <dlog.h>
-
-#undef LOG_TAG
-#define LOG_TAG "PKGMGR_INFO_SERVER"
index 3f78c6a..4ec81df 100644 (file)
@@ -21,7 +21,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-#include "debug.h"
+#include "pkgmgrinfo_debug.h"
 #include "abstract_socket.hh"
 
 namespace pkgmgr_common {
index 1de5828..51c0cf9 100644 (file)
@@ -22,7 +22,7 @@
 #include <unistd.h>
 
 #include "client_socket.hh"
-#include "dlog.h"
+#include "pkgmgrinfo_debug.h"
 
 namespace pkgmgr_common {
 namespace socket {
index 13fc7e4..aa13bcd 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/un.h>
 #include <unistd.h>
 
-#include "debug.h"
+#include "pkgmgrinfo_debug.h"
 #include "server_socket.hh"
 
 namespace pkgmgr_common {
index f08e517..aaf849d 100644 (file)
@@ -24,6 +24,9 @@
 
 #include <dlog.h>
 
+#undef LOG_TAG
+#define LOG_TAG "PKGMGR_INFO"
+
 #define _LOGE(fmt, arg...) LOGE(fmt, ##arg)
 #define _LOGI(fmt, arg...) LOGI(fmt, ##arg)
 #define _LOGD(fmt, arg...) LOGD(fmt, ##arg)