Skip to content

Commit

Permalink
clean up audit #42
Browse files Browse the repository at this point in the history
  • Loading branch information
xipki committed Oct 26, 2016
1 parent 37fd99e commit 0fbd9ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static void audit(final AuditService auditService, final AuditEvent auditEvent,
auditEvent.addEventData(new AuditEventData("message", auditMessage));
}

auditEvent.setDuration(System.currentTimeMillis() - auditEvent.getTimestamp().getTime());
auditEvent.finish();
auditService.logEvent(auditEvent);
}

Expand Down

0 comments on commit 0fbd9ef

Please sign in to comment.