diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Logger.py (renamed from src/lib/Logging.py) | 0 | ||||
-rw-r--r-- | src/lib/Server/Admin/Query.py | 4 | ||||
-rw-r--r-- | src/lib/__init__.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Logging.py b/src/lib/Logger.py index 429538090..429538090 100644 --- a/src/lib/Logging.py +++ b/src/lib/Logger.py diff --git a/src/lib/Server/Admin/Query.py b/src/lib/Server/Admin/Query.py index 999bde5c2..67484083d 100644 --- a/src/lib/Server/Admin/Query.py +++ b/src/lib/Server/Admin/Query.py @@ -1,11 +1,11 @@ -import Bcfg2.Server.Admin, Bcfg2.Logging, logging +import Bcfg2.Server.Admin, Bcfg2.Logger, logging class Query(Bcfg2.Server.Admin.Mode): __shorthelp__ = 'bcfg2-admin query [-n] [-c] [-f filename] g=group p=profile' __longhelp__ = __shorthelp__ + '\n\tQuery clients' def __init__(self, cfile): logging.root.setLevel(100) - Bcfg2.Logging.setup_logging(100, to_console=False, to_syslog=False) + Bcfg2.Logger.setup_logging(100, to_console=False, to_syslog=False) Bcfg2.Server.Admin.Mode.__init__(self, cfile) try: self.bcore = Bcfg2.Server.Core.Core(self.get_repo_path(), [], diff --git a/src/lib/__init__.py b/src/lib/__init__.py index 7f771da6f..a6300af89 100644 --- a/src/lib/__init__.py +++ b/src/lib/__init__.py @@ -1,4 +1,4 @@ '''base modules definition''' __revision__ = '$Revision$' -__all__ = ['Server', 'Client', 'Component', 'Logging', 'Options', 'Proxy'] +__all__ = ['Server', 'Client', 'Component', 'Logger', 'Options', 'Proxy'] |