Skip to content

Commit c9a073d

Browse files
author
cmb
committed
Document syslog.* ini directives (available as of PHP 7.3.0)
See also <https://bugs.php.net/76956>. git-svn-id: http://svn.php.net/repository/phpdoc/en@346421 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 4d4c326 commit c9a073d

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

trunk/appendices/ini.list.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,6 +2707,24 @@
27072707
<entry>PHP_INI_ALL</entry>
27082708
<entry></entry>
27092709
</row>
2710+
<row>
2711+
<entry><link linkend="ini.syslog.facility">syslog.facility</link></entry>
2712+
<entry>"LOG_USER"</entry>
2713+
<entry>PHP_INI_SYSTEM</entry>
2714+
<entry>Available as of PHP 7.3.0.</entry>
2715+
</row>
2716+
<row>
2717+
<entry><link linkend="ini.syslog.filter">syslog.filter</link></entry>
2718+
<entry>"no-ctrl"</entry>
2719+
<entry>PHP_INI_ALL</entry>
2720+
<entry>Available as of PHP 7.3.0.</entry>
2721+
</row>
2722+
<row>
2723+
<entry><link linkend="ini.syslog.ident">syslog.ident</link></entry>
2724+
<entry>"php"</entry>
2725+
<entry>PHP_INI_SYSTEM</entry>
2726+
<entry>Available as of PHP 7.3.0.</entry>
2727+
</row>
27102728
<row>
27112729
<entry>sys_temp_dir</entry>
27122730
<entry>""</entry>

trunk/reference/errorfunc/ini.xml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,24 @@
118118
<entry>PHP_INI_ALL</entry>
119119
<entry></entry>
120120
</row>
121+
<row>
122+
<entry><link linkend="ini.syslog.facility">syslog.facility</link></entry>
123+
<entry>"LOG_USER"</entry>
124+
<entry>PHP_INI_SYSTEM</entry>
125+
<entry>Available as of PHP 7.3.0.</entry>
126+
</row>
127+
<row>
128+
<entry><link linkend="ini.syslog.filter">syslog.filter</link></entry>
129+
<entry>"no-ctrl"</entry>
130+
<entry>PHP_INI_ALL</entry>
131+
<entry>Available as of PHP 7.3.0.</entry>
132+
</row>
133+
<row>
134+
<entry><link linkend="ini.syslog.ident">syslog.ident</link></entry>
135+
<entry>"php"</entry>
136+
<entry>PHP_INI_SYSTEM</entry>
137+
<entry>Available as of PHP 7.3.0.</entry>
138+
</row>
121139
</tbody>
122140
</tgroup>
123141
</table>
@@ -489,6 +507,59 @@
489507
</listitem>
490508
</varlistentry>
491509

510+
<varlistentry xml:id="ini.syslog.facility">
511+
<term>
512+
<parameter>syslog.facility</parameter>
513+
<type>string</type>
514+
</term>
515+
<listitem>
516+
<para>
517+
Specifies what type of program is logging the message.
518+
Only effective if <link linkend="ini.error-log">error_log</link> is set to "syslog".
519+
</para>
520+
</listitem>
521+
</varlistentry>
522+
523+
<varlistentry xml:id="ini.syslog.filter">
524+
<term>
525+
<parameter>syslog.filter</parameter>
526+
<type>string</type>
527+
</term>
528+
<listitem>
529+
<para>
530+
Specifies the filter type to filter the logged messages. Allowed
531+
characters are passed unmodified; all others are written in their
532+
hexadecimal representation prefixed with <literal>\x</literal>. There are
533+
three supported filter types:
534+
<itemizedlist>
535+
<listitem>
536+
<simpara><literal>all</literal> – all characters</simpara>
537+
</listitem>
538+
<listitem>
539+
<simpara><literal>no-ctrl</literal> – all characters except control characters</simpara>
540+
</listitem>
541+
<listitem>
542+
<simpara><literal>ascii</literal> – all printable ASCII characters and <literal>NL</literal></simpara>
543+
</listitem>
544+
</itemizedlist>
545+
Only effective if <link linkend="ini.error-log">error_log</link> is set to "syslog".
546+
</para>
547+
</listitem>
548+
</varlistentry>
549+
550+
<varlistentry xml:id="ini.syslog.ident">
551+
<term>
552+
<parameter>syslog.ident</parameter>
553+
<type>string</type>
554+
</term>
555+
<listitem>
556+
<para>
557+
Specifies the ident string which is prepended to every message.
558+
Only effective if <link linkend="ini.error-log">error_log</link> is set to "syslog".
559+
</para>
560+
</listitem>
561+
</varlistentry>
562+
492563
</variablelist>
493564
</para>
494565
</section>

0 commit comments

Comments
 (0)