mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Set default logger.
This commit is contained in:
@@ -15,6 +15,8 @@ class MountManager(object):
|
||||
def __init__(self, logger):
|
||||
self.read_proc_mounts()
|
||||
self.logger = logger
|
||||
if self.logger is None:
|
||||
self.logger = logging.getLogger('onl:mounts')
|
||||
|
||||
def read_proc_mounts(self):
|
||||
self.mounts = {}
|
||||
|
||||
Reference in New Issue
Block a user