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

Initial debugging improved

This commit is contained in:
Игорь Чудов 2020-07-23 18:23:57 +04:00
parent 24bce0f38b
commit d608864f8a
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -20,6 +20,7 @@ import logging
import logging.handlers
from enum import IntEnum
from messages import message_with_code
from .logging import slogm
@ -71,7 +72,8 @@ def process_target(target_name=None):
if target_name == 'User':
target = 'User'
logging.debug(slogm('Target is: {}'.format(target)))
logdata = dict({'target': target})
logging.debug(slogm(message_with_code('I3'), logdata))
return target