|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-26 13:34 UTC] pickscrape at gmail dot com
[2010-02-26 13:57 UTC] mbtaylor at gmail dot com
[2010-02-26 16:04 UTC] aharvey@php.net
[2010-02-26 17:00 UTC] aharvey@php.net
[2010-02-26 17:02 UTC] aharvey@php.net
[2010-02-26 18:17 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
The PHP syslog function is truncating messages longer than 500 characters which is currently stopping our ability to respond to error states in our multi-logging environment(i.e. things other than PHP). Please change this to something more appropiate like 16384 bytes. Here is the PHP syslog function. /* {{{ proto bool syslog(int priority, string message) Generate a system log message */ PHP_FUNCTION(syslog) { long priority; char *message; int message_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &priority, &message, &message_len) == FAILURE) { return; } /* * CAVEAT: if the message contains patterns such as "%s", * this will cause problems. */ php_syslog(priority, "%.500s", message); RETURN_TRUE; } /* }}} */