[misc] Better logging during the PDF export