ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.55k stars 267 forks source link

Add a note of the original filename in the worker log #427

Open bmachek opened 3 years ago

bmachek commented 3 years ago

My import queue was stuck on a file, and I couldn't find out which file it was, since the original filename wasn't written in the worker logfile.

A simple debug output like logger.debug("Processing %s", basename) would be sufficient. I hacked it into my local copy, and could get rid of the file causing problems in the import queue.