- if not getattr(self, 'initialised', False):
- from daklib.config import Config
- self.initialised = True
-
- # To be backwards compatibile, dump the first argument if it's a
- # Config object. TODO: Fix up all callers and remove this
- if len(args) > 0 and isinstance(args[0], Config):
- args = list(args)
- args.pop(0)
-
- self.__setup(*args, **kwargs)
-
-
- def __setup(self, program='unknown', debug=False, print_starting=True, include_pid=False):
- "Initialize a new Logger object"