diff --git a/src/bin/pkgorder b/src/bin/pkgorder index bc80c787..ce1da417 100755 --- a/src/bin/pkgorder +++ b/src/bin/pkgorder @@ -53,7 +53,7 @@ class PackageOrderer(yum.YumBase): def doFileLogSetup(self, uid, logfile): pass - def doLoggingSetup(self, debuglevel, errorlevel): + def doLoggingSetup(self, debuglevel, errorlevel, syslog_ident=None, syslog_facility=None): pass def setup(self, fn="/etc/yum.conf", root="/", excludes=[]): diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index a7736003..b28114e0 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -74,7 +74,7 @@ class PungiYum(yum.YumBase): self.pungiconfig = config yum.YumBase.__init__(self) - def doLoggingSetup(self, debuglevel, errorlevel): + def doLoggingSetup(self, debuglevel, errorlevel, syslog_ident=None, syslog_facility=None): """Setup the logging facility.""" logdir = os.path.join(self.pungiconfig.get('default', 'destdir'), 'logs')