Home
last modified time | relevance | path

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

/PHP-7.1/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.1/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 Dconfig.m4558 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
H A Dbasic_functions.c3258 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 Dphp_syslog.h38 #ifdef syslog
44 #undef syslog
49 #define php_syslog syslog
H A Dmain.c1165 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 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.1/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.1/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.1/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.1/Zend/
H A Dzend_ini_parser.y211 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine()); in ini_error()
/PHP-7.1/
H A DUPGRADING46 . 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 Dphp.ini-development584 ; 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 Dphp.ini-production584 ; 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 Dconfigure.in504 syslog.h \
H A DNEWS1275 . 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)

Completed in 110 milliseconds