1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

gpupdate: Logging improved

This commit is contained in:
Игорь Чудов 2020-07-28 12:10:25 +04:00
parent 6f6612862d
commit 23de5b63f6
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -104,7 +104,7 @@ def runner_factory(args, target):
logging.error(slogm(message_with_code('W2'), logdata))
if is_oddjobd_gpupdate_accessible():
logging.debug(slogm(message_with_code('I2')))
logging.debug(slogm(message_with_code('D13')))
computer_runner = None
user_runner = None
if target == 'All' or target == 'Computer':
@ -117,7 +117,7 @@ def runner_factory(args, target):
logging.warning(slogm(message_with_code('W3')))
if is_root():
logging.debug(slogm(message_with_code('I1')))
logging.debug(slogm(message_with_code('D14')))
computer_runner = None
user_runner = None
if target == 'All' or target == 'Computer':