All our log.h code uses PROJECT_FILE for this, let's hence use it here too. (cherry picked from commit 11c8b1f1)
mentioned in commit 37744236