Skip to content

Commit 744c673

Browse files
authored
Fix no info log in syslog for caclmgrd (#200)
Signed-off-by: Zhaohui Sun <[email protected]>
1 parent d5a250e commit 744c673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/caclmgrd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ try:
1818
import threading
1919
import time
2020
from sonic_py_common.general import getstatusoutput_noshell_pipe
21-
from sonic_py_common import daemon_base, device_info, multi_asic
21+
from sonic_py_common import logger, device_info, multi_asic
2222
from swsscommon import swsscommon
2323
except ImportError as err:
2424
raise ImportError("%s - required module not found" % str(err))
@@ -64,7 +64,7 @@ def get_ipv4_networks_from_interface_table(table, intf_name):
6464
# ============================== Classes ==============================
6565

6666

67-
class ControlPlaneAclManager(daemon_base.DaemonBase):
67+
class ControlPlaneAclManager(logger.Logger):
6868
"""
6969
Class which reads control plane ACL tables and rules from Config DB,
7070
translates them into equivalent iptables commands and runs those

0 commit comments

Comments
 (0)