support log level override
Build empanada images for imagefactory / buildx (push) Failing after 5s Details
Build empanada container images for lorax / buildx (push) Successful in 1s Details

This commit is contained in:
Neil Hanlon 2023-12-22 14:51:23 -05:00
parent dfa4caec54
commit 8481efd03c
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
1 changed files with 10 additions and 11 deletions

View File

@ -1806,9 +1806,8 @@ class SigRepoSync:
)
# This is temporary for now.
if logger is None:
self.log = logging.getLogger("sigreposync")
self.log.setLevel(logging.INFO)
self.log.setLevel(getattr(logging, logger.upper(), 'INFO'))
handler = logging.StreamHandler(sys.stdout)
handler.setLevel(logging.INFO)
formatter = logging.Formatter(