diff --git a/bin/deltalogparse.py b/bin/deltalogparse.py index 52a303ae8bfec88dbf698e3686833ee90dcbc4bc..df535523f533665b018d5018a33c12638b5dc502 100755 --- a/bin/deltalogparse.py +++ b/bin/deltalogparse.py @@ -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))