undo logger none removal
This commit is contained in:
parent
8481efd03c
commit
62d8d6a233
@ -1806,6 +1806,7 @@ class SigRepoSync:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# This is temporary for now.
|
# This is temporary for now.
|
||||||
|
if logger is None:
|
||||||
self.log = logging.getLogger("sigreposync")
|
self.log = logging.getLogger("sigreposync")
|
||||||
self.log.setLevel(getattr(logging, logger.upper(), 'INFO'))
|
self.log.setLevel(getattr(logging, logger.upper(), 'INFO'))
|
||||||
handler = logging.StreamHandler(sys.stdout)
|
handler = logging.StreamHandler(sys.stdout)
|
||||||
|
Loading…
Reference in New Issue
Block a user