fix pdf_data var name

(cherry picked from commit 5e3e685039185a937de85cdffaa1a12336220a30)
Fixed more var names, oops.

(cherry picked from commit c7f27b05d925325af464b7c7d7eb4f236c8e6a72)
Update syslog.py

Objects is a list, not dict.
(cherry picked from commit 78ab91d6d8392a0fe373a903bbb0b72491244b6c)