/PHP-7.1/ext/standard/tests/network/ |
H A D | syslog_error.phpt | 2 Test syslog() function : error conditions 5 /* Prototype : bool syslog(int priority, string message) 7 * Source code: ext/standard/syslog.c 11 echo "*** Testing syslog() : error conditions ***\n"; 14 //Test syslog with one more than the expected number of arguments 19 var_dump( syslog($priority, $message, $extra_arg) ); 21 // Testing syslog with one less than the expected number of arguments 24 var_dump( syslog($priority) ); 29 *** Testing syslog() : error conditions *** 31 -- Testing syslog() function with more than expected no. of arguments -- [all …]
|
H A D | syslog_basic-win32.phpt | 2 Test syslog() function : basic functionality 10 /* Prototype : bool syslog(int priority, string message) 12 * Source code: ext/standard/syslog.c 16 echo "*** Testing syslog() : basic functionality ***\n"; 21 $message = 'A test syslog call invocation'; 23 // Calling syslog() with all possible arguments 24 var_dump( syslog($priority, $message) ); 29 *** Testing syslog() : basic functionality ***
|
H A D | closelog_basic.phpt | 7 * Source code: ext/standard/syslog.c
|
H A D | closelog_error.phpt | 7 * Source code: ext/standard/syslog.c
|
/PHP-7.1/ext/standard/ |
H A D | php_ext_syslog.h | 28 PHP_MINIT_FUNCTION(syslog); 29 PHP_RINIT_FUNCTION(syslog); 31 PHP_RSHUTDOWN_FUNCTION(syslog); 33 PHP_MSHUTDOWN_FUNCTION(syslog); 36 PHP_FUNCTION(syslog);
|
H A D | syslog.c | 41 PHP_MINIT_FUNCTION(syslog) in PHP_MINIT_FUNCTION() argument 104 PHP_RINIT_FUNCTION(syslog) in PHP_RINIT_FUNCTION() argument 112 PHP_RSHUTDOWN_FUNCTION(syslog) in PHP_RSHUTDOWN_FUNCTION() argument 119 PHP_MSHUTDOWN_FUNCTION(syslog) in PHP_MSHUTDOWN_FUNCTION() argument 176 PHP_FUNCTION(syslog) in PHP_FUNCTION() argument
|
H A D | config.w32 | 18 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
|
H A D | config.m4 | 558 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
|
H A D | basic_functions.c | 3258 PHP_FE(syslog, arginfo_syslog) 3687 BASIC_MINIT_SUBMODULE(syslog) in PHP_MINIT_FUNCTION() 3724 PHP_MSHUTDOWN(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_MSHUTDOWN_FUNCTION() local 3787 BASIC_RINIT_SUBMODULE(syslog) in PHP_RINIT_FUNCTION() 3838 BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_RSHUTDOWN_FUNCTION() local
|
/PHP-7.1/main/ |
H A D | php_syslog.h | 38 #ifdef syslog 44 #undef syslog 49 #define php_syslog syslog
|
H A D | main.c | 1165 syslog(LOG_ALERT, "PHP %s: %s (%s)", error_type_str, buffer, GetCommandLine()); in php_error_cb()
|
/PHP-7.1/ext/standard/tests/misc/ |
H A D | syslog_basic.phpt | 2 Basic syslog test 7 syslog(LOG_WARNING, 'Basic syslog test');
|
H A D | syslog_parameters.phpt | 8 syslog(); 9 syslog('Wrong parameter order', LOG_WARNING); 18 Warning: syslog() expects exactly 2 parameters, 0 given in %s on line %d 20 Warning: syslog() expects parameter 1 to be integer, string given in %s on line %d
|
/PHP-7.1/win32/build/ |
H A D | registersyslog.php | 23 syslog(LOG_NOTICE, "Registered PHP Event source");
|
H A D | Makefile | 249 @echo Registering event source with syslog (requires admin rights)
|
/PHP-7.1/win32/ |
H A D | syslog.h | 75 extern void syslog(int, const char *, ...);
|
H A D | wsyslog.c | 80 void syslog(int priority, const char *message, ...) in syslog() function
|
/PHP-7.1/sapi/fpm/ |
H A D | php-fpm.conf.in | 20 ; If it's set to "syslog", log is sent to syslogd instead of being written 29 ; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON) 31 ;syslog.facility = daemon 37 ;syslog.ident = php-fpm
|
/PHP-7.1/Zend/ |
H A D | zend_ini_parser.y | 211 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine()); in ini_error()
|
/PHP-7.1/ |
H A D | UPGRADING | 46 . If the error_log is set to syslog, the PHP error levels are mapped to the 47 syslog error levels. This brings finer differentiation in the error logs
|
H A D | php.ini-development | 584 ; Log errors to syslog (Event Log on Windows). 585 ;error_log = syslog 1075 ; Log mail to syslog (Event Log on Windows). 1076 ;mail.log = syslog
|
H A D | php.ini-production | 584 ; Log errors to syslog (Event Log on Windows). 585 ;error_log = syslog 1075 ; Log mail to syslog (Event Log on Windows). 1076 ;mail.log = syslog
|
H A D | configure.in | 504 syslog.h \
|
H A D | NEWS | 1275 . Fixed bug #69865 (php-fpm does not close stderr when using syslog). 1339 . Fixed bug #69061 (mail.log = syslog contains double information). 1442 . Implemented logging to syslog with dynamic error levels. (Jani Ollikainen)
|