Update syslog.py

Objects is a list, not dict.