qubespolicy: improve logging
Include actual target to which service was allowed (either overriden by policy, or chosen by user). QubesOS/qubes-issues#910
This commit is contained in:
		
							parent
							
								
									1831088c9b
								
							
						
					
					
						commit
						58e58e0ca7
					
				| @ -90,7 +90,7 @@ def main(args=None): | ||||
|                 action.handle_user_response(True, response) | ||||
|             else: | ||||
|                 action.handle_user_response(False) | ||||
|         log.info(log_prefix + 'allowed') | ||||
|         log.info(log_prefix + 'allowed to {}'.format(action.target)) | ||||
|         action.execute(caller_ident) | ||||
|     except qubespolicy.PolicySyntaxError as e: | ||||
|         log.error(log_prefix + 'error loading policy: ' + str(e)) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski-Górecki
						Marek Marczykowski-Górecki