mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
util.kerberos: Logging improved
This commit is contained in:
parent
58a609f0bf
commit
d776cbbc7a
@ -22,6 +22,7 @@ import subprocess
|
||||
|
||||
from .util import get_machine_name
|
||||
from .logging import slogm
|
||||
from messages import message_with_code
|
||||
|
||||
|
||||
def machine_kinit(cache_name=None):
|
||||
@ -78,8 +79,8 @@ def check_krb_ticket():
|
||||
logging.info(output)
|
||||
result = True
|
||||
except:
|
||||
logging.error(slogm('Kerberos ticket check unsuccessful'))
|
||||
logging.error(slogm(message_with_code('E14')))
|
||||
|
||||
logging.debug(slogm('Ticket check succeed'))
|
||||
logging.debug(slogm(message_with_code('D17')))
|
||||
|
||||
return result
|
||||
|
Loading…
x
Reference in New Issue
Block a user