Home
last modified time | relevance | path

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

/PHP-7.2/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.2/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
178 PHP_FUNCTION(syslog) in PHP_FUNCTION() argument
H A Dconfig.w3232 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
H A Dconfig.m4459 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
H A Dbasic_functions.c3277 PHP_FE(syslog, arginfo_syslog)
3681 BASIC_MINIT_SUBMODULE(syslog) in PHP_MINIT_FUNCTION()
3718 PHP_MSHUTDOWN(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_MSHUTDOWN_FUNCTION() local
3781 BASIC_RINIT_SUBMODULE(syslog) in PHP_RINIT_FUNCTION()
3832 BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_RSHUTDOWN_FUNCTION() local
/PHP-7.2/main/
H A Dphp_syslog.h38 #ifdef syslog
44 #undef syslog
49 #define php_syslog syslog
H A Dmain.c1159 syslog(LOG_ALERT, "PHP %s: %s (%s)", error_type_str, buffer, GetCommandLine()); in php_error_cb()
/PHP-7.2/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.2/win32/build/
H A Dregistersyslog.php23 syslog(LOG_NOTICE, "Registered PHP Event source");
H A DMakefile252 @echo Registering event source with syslog (requires admin rights)
/PHP-7.2/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.2/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.2/Zend/
H A Dzend_ini_parser.y213 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine()); in ini_error()
/PHP-7.2/
H A Dphp.ini-development580 ; Log errors to syslog (Event Log on Windows).
581 ;error_log = syslog
1070 ; Log mail to syslog (Event Log on Windows).
1071 ;mail.log = syslog
H A Dphp.ini-production582 ; Log errors to syslog (Event Log on Windows).
583 ;error_log = syslog
1072 ; Log mail to syslog (Event Log on Windows).
1073 ;mail.log = syslog
H A DNEWS2280 . Fixed bug #69865 (php-fpm does not close stderr when using syslog).
2344 . Fixed bug #69061 (mail.log = syslog contains double information).
2447 . Implemented logging to syslog with dynamic error levels. (Jani Ollikainen)
H A Dconfigure.ac473 syslog.h \

Completed in 76 milliseconds