Index: main/main.c
===================================================================
--- main/main.c	(revision 295539)
+++ main/main.c	(working copy)
@@ -655,7 +655,7 @@
 	if (PG(error_log) != NULL) {
 #ifdef HAVE_SYSLOG_H
 		if (!strcmp(PG(error_log), "syslog")) {
-			php_syslog(LOG_NOTICE, "%.500s", log_message);
+			php_syslog(LOG_NOTICE, "%s", log_message);
 			PG(in_error_log) = 0;
 			return;
 		}
