Modified secure.py after making rsyslog RFC 3164 compatible