mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
cups applier logging improved
This commit is contained in:
parent
0352da6d58
commit
44ec5ecc93
@ -94,7 +94,10 @@ class cups_applier(applier_frontend):
|
||||
Perform configuration of printer which is assigned to computer.
|
||||
'''
|
||||
if self.__module_enabled:
|
||||
logging.debug(slogm('Running CUPS applier for machine'))
|
||||
self.run()
|
||||
else:
|
||||
logging.debug(slogm('CUPS applier for machine will not be started'))
|
||||
|
||||
class cups_applier_user(applier_frontend):
|
||||
__module_name = 'CUPSApplierUser'
|
||||
@ -135,5 +138,8 @@ class cups_applier_user(applier_frontend):
|
||||
Perform printer configuration assigned for user.
|
||||
'''
|
||||
if self.__module_enabled:
|
||||
logging.debug(slogm('Running CUPS applier for user in administrator context'))
|
||||
self.run()
|
||||
else:
|
||||
logging.debug(slogm('CUPS applier for user in administrator context will not be started'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user