Added an info log message when the precompiled pdf is successful. This is because we can't tell when the letters are passing.

This commit is contained in:
Rebecca Law
2018-09-18 17:46:19 +01:00
parent 29a666302e
commit a30ed976f4

View File

@@ -191,6 +191,9 @@ def process_virus_scan_passed(self, filename):
# move_scan_to_invalid_pdf_bucket() # TODO: implement this (and create bucket etc)
# scan_pdf_object.delete()
# return
else:
current_app.logger.info(
"Validation was successful for precompiled pdf {} ({})".format(notification.id, filename))
current_app.logger.info('notification id {} ({}) sanitised and ready to send'.format(notification.id, filename))