fix tail issue for custom syslog