fixing the syslog patch for 4.x