rework most of the logging

This commit is contained in:
jonaswinkler
2021-02-05 01:10:29 +01:00
parent 6ed228aa18
commit e5a7dc0cc7
18 changed files with 80 additions and 71 deletions

View File

@@ -14,6 +14,8 @@ class TikaDocumentParser(DocumentParser):
This parser sends documents to a local tika server
"""
logging_name = "paperless.parsing.tika"
def get_thumbnail(self, document_path, mime_type):
if not self.archive_path:
self.archive_path = self.convert_to_pdf(document_path)