Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/network/
H A Dsyslog_basic.phpt2 Test syslog() function : basic functionality
5 /* Prototype : bool syslog(int priority, string message)
7 * Source code: ext/standard/syslog.c
11 echo "*** Testing syslog() : basic functionality ***\n";
16 $message = 'A test syslog call invocation';
18 // Calling syslog() with all possible arguments
19 var_dump( syslog($priority, $message) );
24 *** Testing syslog() : basic functionality ***
H A Dcloselog_basic.phpt7 * Source code: ext/standard/syslog.c
/PHP-7.4/ext/standard/
H A Dphp_ext_syslog.h26 PHP_MINIT_FUNCTION(syslog);
27 PHP_RINIT_FUNCTION(syslog);
29 PHP_RSHUTDOWN_FUNCTION(syslog);
31 PHP_MSHUTDOWN_FUNCTION(syslog);
34 PHP_FUNCTION(syslog);
H A Dsyslog.c39 PHP_MINIT_FUNCTION(syslog) in PHP_MINIT_FUNCTION() argument
102 PHP_RINIT_FUNCTION(syslog) in PHP_RINIT_FUNCTION() argument
110 PHP_RSHUTDOWN_FUNCTION(syslog) in PHP_RSHUTDOWN_FUNCTION() argument
117 PHP_MSHUTDOWN_FUNCTION(syslog) in PHP_MSHUTDOWN_FUNCTION() argument
182 PHP_FUNCTION(syslog) in PHP_FUNCTION() argument
H A Dconfig.w3233 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
H A Dconfig.m4490 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
H A Dbasic_functions.c3299 PHP_FE(syslog, arginfo_syslog)
3700 BASIC_MINIT_SUBMODULE(syslog) in PHP_MINIT_FUNCTION()
3739 PHP_MSHUTDOWN(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_MSHUTDOWN_FUNCTION() local
3802 BASIC_RINIT_SUBMODULE(syslog) in PHP_RINIT_FUNCTION()
3855 BASIC_RSHUTDOWN_SUBMODULE(syslog)(SHUTDOWN_FUNC_ARGS_PASSTHRU); in PHP_RSHUTDOWN_FUNCTION() local
/PHP-7.4/ext/standard/tests/misc/
H A Dsyslog_basic.phpt2 Basic syslog test
7 syslog(LOG_WARNING, 'Basic syslog test');
/PHP-7.4/main/
H A Dphp_syslog.c34 #define syslog std_syslog macro
81 syslog(priority, "%.*s", (int)fbuf.len, fbuf.c); in php_syslog()
89 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
99 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
H A Dmain.c1382 syslog(LOG_ALERT, "PHP %s: %s (%s)", error_type_str, buffer, GetCommandLine()); in php_error_cb()
/PHP-7.4/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
49 ; when logging to syslog.
57 ; for some heavy logging scenarios. This option is ignored if logging to syslog
/PHP-7.4/win32/
H A Dsyslog.h73 extern void syslog(int, const char *, ...);
H A Dwsyslog.c81 void syslog(int priority, const char *message, ...) in syslog() function
/PHP-7.4/Zend/
H A Dzend_ini_parser.y212 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine()); in ini_error()
/PHP-7.4/
H A Dphp.ini-development587 ; Log errors to syslog (Event Log on Windows).
588 ;error_log = syslog
591 ; to syslog. Only used when error_log is set to syslog.
592 ;syslog.ident = php
594 ; The syslog facility is used to specify what type of program is logging
595 ; the message. Only used when error_log is set to syslog.
596 ;syslog.facility = user
607 ; http://php.net/syslog.filter
608 ;syslog.filter = ascii
1093 ; Log mail to syslog (Event Log on Windows).
[all …]
H A Dphp.ini-production587 ; Log errors to syslog (Event Log on Windows).
588 ;error_log = syslog
591 ; to syslog. Only used when error_log is set to syslog.
592 ;syslog.ident = php
594 ; The syslog facility is used to specify what type of program is logging
595 ; the message. Only used when error_log is set to syslog.
596 ;syslog.facility = user
607 ; http://php.net/syslog.filter
608 ;syslog.filter = ascii
1093 ; Log mail to syslog (Event Log on Windows).
[all …]
H A D.gitignore211 /win32/syslog.reg
H A DNEWS1907 . Added syslog.filter=raw option. (Erik Lundin)
2147 . Fixed bug #76956 (Wrong value for 'syslog.filter' documented in php.ini).
2474 . Added syslog.facility and syslog.ident INI entries for customizing syslog
2480 error_log set to "syslog"). (Philip Prindeville)
2514 . Added syslog.filter INI entry for syslog filtering. (Philip Prindeville)
H A Dconfigure.ac441 syslog.h \
/PHP-7.4/win32/build/
H A DMakefile264 @echo Registering event source with syslog (requires admin rights)

Completed in 70 milliseconds