Skip to content
Snippets Groups Projects
Commit 18a366e4 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Do not debug skip

parent 715432cb
No related branches found
No related tags found
1 merge request!12Deltalogparse
......@@ -88,8 +88,9 @@ def log_action(action, entry):
"""Log an action on a req"""
req_type = entry['attributes']['reqType'][0]
req_dn = entry['attributes']['reqDN'][0]
log.debug('entry:')
log.debug(pprint.pformat(entry, indent=1))
if not action == 'skip':
log.debug('entry:')
log.debug(pprint.pformat(entry, indent=1))
log.info('{}: {} {}'.format(action, req_type, req_dn))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment