Early exit in syslog portability hook properly