logger->logging

This commit is contained in:
Jakobus Schürz 2019-07-31 18:03:01 +02:00
parent 4dcd1f3d8c
commit 5fe6c8b0d4

View file

@ -137,7 +137,7 @@ class Main(app.App):
user = ssh_extract_user(pubkey)
if not re.search(r"\s", pubkey):
pubkey = None
logger.debug("pubkey: %s", pubkey)
logging.debug("pubkey: %s", pubkey)
if user is None:
log.error('Cannot parse user from SSH public key.')
sys.exit(1)