opened connection to syslog before actually logging