Home
last modified time | relevance | path

Searched refs:syslog (Results 1 – 23 of 23) sorted by relevance

/PHP-7.0/ext/standard/tests/network/
H A Dsyslog_error.phpt2 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 Dsyslog_basic-win32.phpt2 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 Dcloselog_basic.phpt7 * Source code: ext/standard/syslog.c
H A Dcloselog_error.phpt7 * Source code: ext/standard/syslog.c
/PHP-7.0/ext/standard/
H A Dphp_ext_syslog.h28 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 Dsyslog.c41 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 Dconfig.w3218 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
H A Dbasic_functions.c3244 PHP_FE(syslog, arginfo_syslog)
3655 BASIC_MINIT_SUBMODULE(syslog) in PHP_MINIT_FUNCTION()
3692 PHP_MSHUTDOWN(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_MSHUTDOWN_FUNCTION() local
3758 BASIC_RINIT_SUBMODULE(syslog) in PHP_RINIT_FUNCTION()
3807 BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_RSHUTDOWN_FUNCTION() local
H A Dconfig.m4619 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
/PHP-7.0/main/
H A Dphp_syslog.h38 #ifdef syslog
44 #undef syslog
49 #define php_syslog syslog
H A Dmain.c1117 syslog(LOG_ALERT, "PHP %s: %s (%s)", error_type_str, buffer, GetCommandLine()); in php_error_cb()
/PHP-7.0/ext/standard/tests/misc/
H A Dsyslog_basic.phpt2 Basic syslog test
7 syslog(LOG_WARNING, 'Basic syslog test');
H A Dsyslog_parameters.phpt8 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.0/win32/build/
H A Dregistersyslog.php23 syslog(LOG_NOTICE, "Registered PHP Event source");
H A DMakefile249 @echo Registering event source with syslog (requires admin rights)
/PHP-7.0/win32/
H A Dsyslog.h75 extern void syslog(int, const char *, ...);
H A Dwsyslog.c80 void syslog(int priority, const char *message, ...) in syslog() function
/PHP-7.0/sapi/fpm/
H A Dphp-fpm.conf.in20 ; 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.0/Zend/
H A Dzend_ini_parser.y204 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine()); in ini_error()
/PHP-7.0/
H A Dphp.ini-development569 ; Log errors to syslog (Event Log on Windows).
570 ;error_log = syslog
1042 ; Log mail to syslog (Event Log on Windows).
1043 ;mail.log = syslog
H A Dphp.ini-production569 ; Log errors to syslog (Event Log on Windows).
570 ;error_log = syslog
1042 ; Log mail to syslog (Event Log on Windows).
1043 ;mail.log = syslog
H A Dconfigure.in504 syslog.h \
H A DNEWS658 . Fixed bug #69865 (php-fpm does not close stderr when using syslog).

Completed in 58 milliseconds