[DOC-CVS] [doc-en] master: seaslog: fix XML to remove useless wrapping para tags via script
[email protected] (Gina Peter Banyard)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Gina Peter Banyard (Girgias)
Date: 2026-01-25T15:19:28Z
Commit: https://github.com/php/doc-en/commit/ed0559b36f1c31c24c1ec1b641276da111e06f1e
Raw diff: https://github.com/php/doc-en/commit/ed0559b36f1c31c24c1ec1b641276da111e06f1e.diff
seaslog: fix XML to remove useless wrapping para tags via script
Changed paths:
M reference/seaslog/constants.xml
M reference/seaslog/ini.xml
Diff:
diff --git a/reference/seaslog/constants.xml b/reference/seaslog/constants.xml
index 760636b99ff3..95d8e78d9c38 100644
--- a/reference/seaslog/constants.xml
+++ b/reference/seaslog/constants.xml
@@ -1,255 +1,251 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-
-<appendix xml:id="seaslog.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="seaslog.constants">
&reftitle.constants;
&extension.constants;
- <para>
- <variablelist>
- <varlistentry xml:id="constant.seaslog-version">
- <term>
- <constant>SEASLOG_VERSION</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-author">
- <term>
- <constant>SEASLOG_AUTHOR</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-all">
- <term>
- <constant>SEASLOG_ALL</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "ALL"
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-debug">
- <term>
- <constant>SEASLOG_DEBUG</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "DEBUG" - Detailed debug information.Fine-grained information events.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-info">
- <term>
- <constant>SEASLOG_INFO</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "INFO" - Interesting events.Emphasizes the running process of the application.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-notice">
- <term>
- <constant>SEASLOG_NOTICE</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "NOTICE" - Normal but significant events.Information that is more important than the INFO level during execution.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-warning">
- <term>
- <constant>SEASLOG_WARNING</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "WARNING" - Exceptional occurrences that are not errors.Potentially aberrant information that needs attention and needs to be repaired.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-error">
- <term>
- <constant>SEASLOG_ERROR</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "ERROR" - Runtime errors that do not require immediate action but should typically.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-critical">
- <term>
- <constant>SEASLOG_CRITICAL</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "CRITICAL" - Critical conditions.Need to be repaired immediately, and the program component is unavailable.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-alert">
- <term>
- <constant>SEASLOG_ALERT</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "ALERT" - Action must be taken immediately.Immediate attention should be given to relevant personnel for emergency repairs.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-emergency">
- <term>
- <constant>SEASLOG_EMERGENCY</constant>
- (<type>string</type>)
- </term>
- <listitem>
- <simpara>
- "EMERGENCY" - System is unusable.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-detail-order-asc">
- <term>
- <constant>SEASLOG_DETAIL_ORDER_ASC</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
+ <variablelist>
+ <varlistentry xml:id="constant.seaslog-version">
+ <term>
+ <constant>SEASLOG_VERSION</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-author">
+ <term>
+ <constant>SEASLOG_AUTHOR</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-all">
+ <term>
+ <constant>SEASLOG_ALL</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "ALL"
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-debug">
+ <term>
+ <constant>SEASLOG_DEBUG</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "DEBUG" - Detailed debug information.Fine-grained information events.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-info">
+ <term>
+ <constant>SEASLOG_INFO</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "INFO" - Interesting events.Emphasizes the running process of the application.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-notice">
+ <term>
+ <constant>SEASLOG_NOTICE</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "NOTICE" - Normal but significant events.Information that is more important than the INFO level during execution.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-warning">
+ <term>
+ <constant>SEASLOG_WARNING</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "WARNING" - Exceptional occurrences that are not errors.Potentially aberrant information that needs attention and needs to be repaired.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-error">
+ <term>
+ <constant>SEASLOG_ERROR</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "ERROR" - Runtime errors that do not require immediate action but should typically.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-critical">
+ <term>
+ <constant>SEASLOG_CRITICAL</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "CRITICAL" - Critical conditions.Need to be repaired immediately, and the program component is unavailable.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-alert">
+ <term>
+ <constant>SEASLOG_ALERT</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "ALERT" - Action must be taken immediately.Immediate attention should be given to relevant personnel for emergency repairs.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-emergency">
+ <term>
+ <constant>SEASLOG_EMERGENCY</constant>
+ (<type>string</type>)
+ </term>
+ <listitem>
+ <simpara>
+ "EMERGENCY" - System is unusable.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-detail-order-asc">
+ <term>
+ <constant>SEASLOG_DETAIL_ORDER_ASC</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 1
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-detail-order-desc">
+ <term>
+ <constant>SEASLOG_DETAIL_ORDER_DESC</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 2
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-appender-file">
+ <term>
+ <constant>SEASLOG_APPENDER_FILE</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 1
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-appender-tcp">
+ <term>
+ <constant>SEASLOG_APPENDER_TCP</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 2
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-appender-udp">
+ <term>
+ <constant>SEASLOG_APPENDER_UDP</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 3
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-close-logger-stream-mod-all">
+ <term>
+ <constant>SEASLOG_CLOSE_LOGGER_STREAM_MOD_ALL</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
1
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-detail-order-desc">
- <term>
- <constant>SEASLOG_DETAIL_ORDER_DESC</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-close-logger-stream-mod-assign">
+ <term>
+ <constant>SEASLOG_CLOSE_LOGGER_STREAM_MOD_ASSIGN</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
2
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-appender-file">
- <term>
- <constant>SEASLOG_APPENDER_FILE</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-request-variable-domain-port">
+ <term>
+ <constant>SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
1
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-appender-tcp">
- <term>
- <constant>SEASLOG_APPENDER_TCP</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-request-variable-request-uri">
+ <term>
+ <constant>SEASLOG_REQUEST_VARIABLE_REQUEST_URI</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
2
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-appender-udp">
- <term>
- <constant>SEASLOG_APPENDER_UDP</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-request-variable-request-method">
+ <term>
+ <constant>SEASLOG_REQUEST_VARIABLE_REQUEST_METHOD</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
3
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-close-logger-stream-mod-all">
- <term>
- <constant>SEASLOG_CLOSE_LOGGER_STREAM_MOD_ALL</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 1
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-close-logger-stream-mod-assign">
- <term>
- <constant>SEASLOG_CLOSE_LOGGER_STREAM_MOD_ASSIGN</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 2
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-request-variable-domain-port">
- <term>
- <constant>SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 1
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-request-variable-request-uri">
- <term>
- <constant>SEASLOG_REQUEST_VARIABLE_REQUEST_URI</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 2
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-request-variable-request-method">
- <term>
- <constant>SEASLOG_REQUEST_VARIABLE_REQUEST_METHOD</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 3
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="constant.seaslog-request-variable-client-ip">
- <term>
- <constant>SEASLOG_REQUEST_VARIABLE_CLIENT_IP</constant>
- (<type>int</type>)
- </term>
- <listitem>
- <simpara>
- 4
- </simpara>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.seaslog-request-variable-client-ip">
+ <term>
+ <constant>SEASLOG_REQUEST_VARIABLE_CLIENT_IP</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ 4
+ </simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</appendix>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/seaslog/ini.xml b/reference/seaslog/ini.xml
index 70c87a447b87..76398c939ede 100644
--- a/reference/seaslog/ini.xml
+++ b/reference/seaslog/ini.xml
@@ -1,617 +1,611 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-
-<section xml:id="seaslog.configuration" xmlns="http://docbook.org/ns/docbook">
+<section xmlns="http://docbook.org/ns/docbook" xml:id="seaslog.configuration">
&reftitle.runtime;
&extension.runtime;
- <para>
- <table>
- <title>Seaslog &ConfigureOptions;</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>&Name;</entry>
- <entry>&Default;</entry>
- <entry>&Changeable;</entry>
- <entry>&Changelog;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><link linkend="ini.seaslog.appender">seaslog.appender</link></entry>
- <entry>1</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.appender-retry">seaslog.appender_retry</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.level">seaslog.level</link></entry>
- <entry>8</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.remote-host">seaslog.remote_host</link></entry>
- <entry>127.0.0.1</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.remote-port">seaslog.remote_port</link></entry>
- <entry>514</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.remote-timeout">seaslog.remote_timeout</link></entry>
- <entry>1</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.default-basepath">seaslog.default_basepath</link></entry>
- <entry>/var/log/www</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.default-logger">seaslog.default_logger</link></entry>
- <entry>default</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.default-template">seaslog.default_template</link></entry>
- <entry>%T | %L | %P | %Q | %t | %M</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.default-datetime-format">seaslog.default_datetime_format</link></entry>
- <entry>Y-m-d H:i:s</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.trace-error">seaslog.trace_error</link></entry>
- <entry>1</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.trace-exception">seaslog.trace_exception</link></entry>
- <entry>0</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.trace-notice">seaslog.trace_notice</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.trace-warning">seaslog.trace_warning</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.use-buffer">seaslog.use_buffer</link></entry>
- <entry>0</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.buffer-size">seaslog.buffer_size</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.buffer-disabled-in-cli">seaslog.buffer_disabled_in_cli</link></entry>
- <entry>0</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.disting-type">seaslog.disting_type</link></entry>
- <entry>0</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.disting-folder">seaslog.disting_folder</link></entry>
- <entry>1</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.disting-by-hour">seaslog.disting_by_hour</link></entry>
- <entry>0</entry>
- <entry><constant>INI_SYSTEM</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.recall-depth">seaslog.recall_depth</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.trim-wrap">seaslog.trim_wrap</link></entry>
- <entry>0</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.ignore-warning">seaslog.ignore_warning</link></entry>
- <entry>1</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- <row>
- <entry><link linkend="ini.seaslog.throw-exception">seaslog.throw_exception</link></entry>
- <entry>1</entry>
- <entry><constant>INI_ALL</constant></entry>
- <entry><!-- leave empty, this will be filled by an automatic script --></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </para>
+ <table>
+ <title>Seaslog &ConfigureOptions;</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>&Name;</entry>
+ <entry>&Default;</entry>
+ <entry>&Changeable;</entry>
+ <entry>&Changelog;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><link linkend="ini.seaslog.appender">seaslog.appender</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.appender-retry">seaslog.appender_retry</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.level">seaslog.level</link></entry>
+ <entry>8</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.remote-host">seaslog.remote_host</link></entry>
+ <entry>127.0.0.1</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.remote-port">seaslog.remote_port</link></entry>
+ <entry>514</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.remote-timeout">seaslog.remote_timeout</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.default-basepath">seaslog.default_basepath</link></entry>
+ <entry>/var/log/www</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.default-logger">seaslog.default_logger</link></entry>
+ <entry>default</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.default-template">seaslog.default_template</link></entry>
+ <entry>%T | %L | %P | %Q | %t | %M</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.default-datetime-format">seaslog.default_datetime_format</link></entry>
+ <entry>Y-m-d H:i:s</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.trace-error">seaslog.trace_error</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.trace-exception">seaslog.trace_exception</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.trace-notice">seaslog.trace_notice</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.trace-warning">seaslog.trace_warning</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.use-buffer">seaslog.use_buffer</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.buffer-size">seaslog.buffer_size</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.buffer-disabled-in-cli">seaslog.buffer_disabled_in_cli</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.disting-type">seaslog.disting_type</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.disting-folder">seaslog.disting_folder</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.disting-by-hour">seaslog.disting_by_hour</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_SYSTEM</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.recall-depth">seaslog.recall_depth</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.trim-wrap">seaslog.trim_wrap</link></entry>
+ <entry>0</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.ignore-warning">seaslog.ignore_warning</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.seaslog.throw-exception">seaslog.throw_exception</link></entry>
+ <entry>1</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
&ini.descriptions.title;
- <para>
- <variablelist>
- <varlistentry xml:id="ini.seaslog.appender">
- <term>
- <parameter>seaslog.appender</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch the Record Log Data Store. 1File 2TCP 3UDP (Switch default 1)
- </para>
- <para>
- SeasLog will send log to tcp://remote_host:remote_port or udp://remote_host:remote_port server,
- when <emphasis>seaslog.appender</emphasis> configured to <literal>2 (TCP)</literal> or <literal>3 (UDP)</literal>.
- </para>
- <para>
- When <emphasis>SeasLog</emphasis> send log to TCP/UDP,style follow RFC5424.
- The <literal>{logInfo}</literal> affected by <emphasis>seaslog.default_template</emphasis>.
- </para>
- <screen>
- <![CDATA[
+ <variablelist>
+ <varlistentry xml:id="ini.seaslog.appender">
+ <term>
+ <parameter>seaslog.appender</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch the Record Log Data Store. 1File 2TCP 3UDP (Switch default 1)
+ </para>
+ <para>
+ SeasLog will send log to tcp://remote_host:remote_port or udp://remote_host:remote_port server,
+ when <emphasis>seaslog.appender</emphasis> configured to <literal>2 (TCP)</literal> or <literal>3 (UDP)</literal>.
+ </para>
+ <para>
+ When <emphasis>SeasLog</emphasis> send log to TCP/UDP,style follow RFC5424.
+ The <literal>{logInfo}</literal> affected by <emphasis>seaslog.default_template</emphasis>.
+ </para>
+ <screen>
+ <![CDATA[
The log style finally formatted such as:
<15>1 2017-08-27T01:24:59+08:00 vagrant-ubuntu-trusty test/logger[27171]: 2016-06-25 00:59:43 | DEBUG | 21423 | 599157af4e937 | 1466787583.322 | this is a neeke debug
<14>1 2017-08-27T01:24:59+08:00 vagrant-ubuntu-trusty test/logger[27171]: 2016-06-25 00:59:43 | INFO | 21423 | 599157af4e937 | 1466787583.323 | this is a info log
<13>1 2017-08-27T01:24:59+08:00 vagrant-ubuntu-trusty test/logger[27171]: 2016-06-25 00:59:43 | NOTICE | 21423 | 599157af4e937 | 1466787583.324 | this is a notice log
]]>
- </screen>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.appender-retry">
- <term>
- <parameter>seaslog.appender_retry</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Record Log Retry Count.
- Default 0 (Do Not Retry)
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.buffer-disabled-in-cli">
- <term>
- <parameter>seaslog.buffer_disabled_in_cli</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Disable buffer in cli. 1-Y 0-N(Default)
- </para>
- <para>
- Switch the configure buffer_disabled_in_cli on.
- The buffer_disabled_in_cli switch default off.
- If switch buffer_disabled_in_cli on, and running in cli,
- seaslog.use_buffer setting will be discarded,
- Seaslog write to the Data Store IMMEDIATELY.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.buffer-size">
- <term>
- <parameter>seaslog.buffer_size</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Configure the buffer_size with 100.
- The buffer_size default 0, it’s meaning don’t use buffer.
- If buffer_size > 0,SeasLog will rewritten down into the Data Store
- when the prerecorded log in memory count >= this buffer_size,and then refresh the memory poll.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.default-basepath">
- <term>
- <parameter>seaslog.default_basepath</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- Default Log Base Path. Defult "/var/log/www".
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.default-datetime-format">
- <term>
- <parameter>seaslog.default_datetime_format</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- The DateTime Style. Default "Y-m-d H:i:s".
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.default-logger">
- <term>
- <parameter>seaslog.default_logger</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- Default Logger Path. Default "default".
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.disting-by-hour">
- <term>
- <parameter>seaslog.disting_by_hour</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch use the logger with hour. 1-Y 0-N(Default)
- </para>
- <note>
- <para>
- <emphasis>seaslog.disting_by_hour = 1</emphasis> Switch use Logger DisTing by hour.
- It’s meaning SeasLog will create the file each one hour.
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.disting-folder">
- <term>
- <parameter>seaslog.disting_folder</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch use the logger with folder. 1-Y(Default) 0-N
- </para>
- <note>
- <para>
- <emphasis>seaslog.disting_folder = 1</emphasis> Switch use Logger DisTing by folder,
- it’s meaning SeasLog will create the file deistic by folder,
- and when this configure close SeasLog will create file
- use underline connect Logger and Time like default_20180211.log.
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.disting-type">
- <term>
- <parameter>seaslog.disting_type</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch use the logger with type. 1-Y 0-N(Default)
- </para>
- <note>
- <para>
- <emphasis>seaslog.disting_type = 1</emphasis> Switch use Logger DisTing by type,
- it’s meaning SeasLog will create the file deistic info\warn\error and the other type.
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.ignore-warning">
- <term>
- <parameter>seaslog.ignore_warning</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch ignore SeasLog warning. 1-On(Default) 0-Off
- </para>
- <note>
- <para>
- <emphasis>seaslog.ignore_warning = 1</emphasis> Open a warning to ignore SeasLog itself.
- When directory permissions or receive server ports are blocked, they are ignored;
- when closed, a warning is thrown.
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.level">
- <term>
- <parameter>seaslog.level</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Record logger level. Default 8 (All of them).
- 0-EMERGENCY 1-ALERT 2-CRITICAL 3-ERROR 4-WARNING 5-NOTICE 6-INFO 7-DEBUG 8-ALL
- </para>
- <note>
- <para>
- Tips: The configuration item has changed since the 1.7.0 version.
- Before the 1.7.0 version, the smaller the value, the more logs are taken according to the level:
- 0-all 1-debug 2-info 3-notice 4-warning 5-error 6-critical 7-alert 8-emergency
- Before the 1.7.0 version, Default 0 (All of them).
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.recall-depth">
- <term>
- <parameter>seaslog.recall_depth</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Log function recall depth.Will affected variable <literal>LineNo</literal> in <literal>%F</literal>.
- Default 0
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.remote-host">
- <term>
- <parameter>seaslog.remote_host</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- If you use Record TCP or UDP, configure this remote ip. Default "127.0.0.1"
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.remote-port">
- <term>
- <parameter>seaslog.remote_port</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- If you use Record TCP or UDP, configure this remote port. Default 514
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.remote-timeout">
- <term>
- <parameter>seaslog.remote_timeout</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- If you use Record TCP or UDP, configure this remote timeout. Default 1 second
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.throw-exception">
- <term>
- <parameter>seaslog.throw_exception</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch throw SeasLog exception. 1-On(Default) 0-Off
- </para>
- <note>
- <para>
- <emphasis>seaslog.throw_exception = 1</emphasis> Open an exception that throws the SeasLog to throw itself.
- When the directory authority or the receive server port is blocked,
- throw an exception; do not throw an exception when closed.
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.trace-error">
- <term>
- <parameter>seaslog.trace_error</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Automatic Record final error with default logger. 1-Y(Default) 0-N
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.trace-exception">
- <term>
- <parameter>seaslog.trace_exception</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Automatic Record exception with default logger. 1-Y 0-N(Default)
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.trace-notice">
- <term>
- <parameter>seaslog.trace_notice</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Automatic Record notice with default logger. 1-Y 0-N(Default)
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.trace-warning">
- <term>
- <parameter>seaslog.trace_warning</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Automatic Record warning with default logger. 1-Y 0-N(Default)
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.trim-wrap">
- <term>
- <parameter>seaslog.trim_wrap</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Trim the \n and \r in log message. 1-On 0-Off(Default)
- </para>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.use-buffer">
- <term>
- <parameter>seaslog.use_buffer</parameter>
- <type>int</type>
- </term>
- <listitem>
- <para>
- Switch use the log buffer with memory. 1-Y 0-N(Default)
- </para>
- <note>
- <para>
- <emphasis>seaslog.use_buffer = 1</emphasis> Switch the configure use_buffer on.
- The use_buffer switch default off.
- If switch use_buffer on, SeasLog prerecord the log with memory,
- and them would be rewritten down into the Data Store by request shutdown
- or php process exit (PHP RSHUTDOWN or PHP MSHUTDOWN).
- </para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry xml:id="ini.seaslog.default-template">
- <term>
- <parameter>seaslog.default_template</parameter>
- <type>string</type>
- </term>
- <listitem>
- <para>
- Default Log template.
- Default "%T | %L | %P | %Q | %t | %M".
- </para>
- <note>
- <para>
- The following default variables are provided,
- which can be used directly in the log template and replaced as a corresponding value
- when the log is eventually generated.
- </para>
- <para>
- Default log template is: <literal>seaslog.default_template = "%T | %L | %P | %Q | %t | %M"</literal>,
- that's mean,default log style is: <literal>{dateTime} | {level} | {pid} | {uniqid} | {timeStamp} | {logInfo}</literal>
- </para>
- <para>
- If you custom log template, such as: <literal>seaslog.default_template = "[%T]:%L %P %Q %t %M"</literal>,
- that's will mean,log style was custom as: <literal>[{dateTime}]:{level} {pid} {uniqid} {timeStamp} {logInfo}</literal>
- </para>
- <table>
- <title>Seaslog Default Variable Table</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Variable Name</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>%L</entry>
- <entry>Level.</entry>
- </row>
- <row>
- <entry>%M</entry>
- <entry>Message.</entry>
- </row>
- <row>
- <entry>%T</entry>
- <entry>DateTime. Such as <literal>2017-08-16 19:15:02</literal>, affected by <literal>seaslog.default_datetime_format</literal>.</entry>
- </row>
- <row>
- <entry>%t</entry>
- <entry>Timestamp. Such as <literal>1502882102.862</literal>,accurate to milliseconds.</entry>
- </row>
- <row>
- <entry>%Q</entry>
- <entry>RequestId. To distinguish a single request,
- such as not invoking the <literal>SeasLog::setRequestId($string)</literal> function,
- the unique value generated by the built-in <literal>static char *get_uniqid ()</literal>
- function is used when the request is initialized.</entry>
- </row>
- <row>
- <entry>%H</entry>
- <entry>HostName.</entry>
- </row>
- <row>
- <entry>%P</entry>
- <entry>ProcessId.</entry>
- </row>
- <row>
- <entry>%D</entry>
- <entry>Domain:Port. Such as <literal>www.cloudwise.com:80</literal>; When Cli, Such as <literal>cli</literal>.</entry>
- </row>
- <row>
- <entry>%R</entry>
- <entry>Request URI. Such as <literal>/app/user/signin</literal>;
- When Cli it's the index script, Such as <literal>CliIndex.php</literal>.</entry>
- </row>
- <row>
- <entry>%m</entry>
- <entry>Request Method. Such as <literal>Get</literal>; When Cli it's the command script, Such as <literal>/bin/bash</literal>.</entry>
- </row>
- <row>
- <entry>%I</entry>
- <entry>Client IP; When Cli it's <literal>local</literal>.
- Priority value: HTTP_X_REAL_IP > HTTP_X_FORWARDED_FOR > REMOTE_ADDR</entry>
- </row>
- <row>
- <entry>%F</entry>
- <entry>FileName:LineNo. Such as <literal>UserService.php:118</literal>.</entry>
- </row>
- <row>
- <entry>%U</entry>
- <entry>MemoryUsage. byte. Call <literal>zend_memory_usage</literal>.</entry>
- </row>
- <row>
- <entry>%u</entry>
- <entry>PeakMemoryUsage. byte. Call <literal>zend_memory_peak_usage</literal>.</entry>
- </row>
- <row>
- <entry>%C</entry>
- <entry><literal>TODO</literal> Class::Action. Such as <literal>UserService::getUserInfo</literal></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </note>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
+ </screen>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.appender-retry">
+ <term>
+ <parameter>seaslog.appender_retry</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Record Log Retry Count.
+ Default 0 (Do Not Retry)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.buffer-disabled-in-cli">
+ <term>
+ <parameter>seaslog.buffer_disabled_in_cli</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Disable buffer in cli. 1-Y 0-N(Default)
+ </para>
+ <para>
+ Switch the configure buffer_disabled_in_cli on.
+ The buffer_disabled_in_cli switch default off.
+ If switch buffer_disabled_in_cli on, and running in cli,
+ seaslog.use_buffer setting will be discarded,
+ Seaslog write to the Data Store IMMEDIATELY.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.buffer-size">
+ <term>
+ <parameter>seaslog.buffer_size</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Configure the buffer_size with 100.
+ The buffer_size default 0, it’s meaning don’t use buffer.
+ If buffer_size > 0,SeasLog will rewritten down into the Data Store
+ when the prerecorded log in memory count >= this buffer_size,and then refresh the memory poll.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.default-basepath">
+ <term>
+ <parameter>seaslog.default_basepath</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ Default Log Base Path. Defult "/var/log/www".
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.default-datetime-format">
+ <term>
+ <parameter>seaslog.default_datetime_format</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ The DateTime Style. Default "Y-m-d H:i:s".
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.default-logger">
+ <term>
+ <parameter>seaslog.default_logger</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ Default Logger Path. Default "default".
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.disting-by-hour">
+ <term>
+ <parameter>seaslog.disting_by_hour</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch use the logger with hour. 1-Y 0-N(Default)
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.disting_by_hour = 1</emphasis> Switch use Logger DisTing by hour.
+ It’s meaning SeasLog will create the file each one hour.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.disting-folder">
+ <term>
+ <parameter>seaslog.disting_folder</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch use the logger with folder. 1-Y(Default) 0-N
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.disting_folder = 1</emphasis> Switch use Logger DisTing by folder,
+ it’s meaning SeasLog will create the file deistic by folder,
+ and when this configure close SeasLog will create file
+ use underline connect Logger and Time like default_20180211.log.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.disting-type">
+ <term>
+ <parameter>seaslog.disting_type</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch use the logger with type. 1-Y 0-N(Default)
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.disting_type = 1</emphasis> Switch use Logger DisTing by type,
+ it’s meaning SeasLog will create the file deistic info\warn\error and the other type.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.ignore-warning">
+ <term>
+ <parameter>seaslog.ignore_warning</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch ignore SeasLog warning. 1-On(Default) 0-Off
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.ignore_warning = 1</emphasis> Open a warning to ignore SeasLog itself.
+ When directory permissions or receive server ports are blocked, they are ignored;
+ when closed, a warning is thrown.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.level">
+ <term>
+ <parameter>seaslog.level</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Record logger level. Default 8 (All of them).
+ 0-EMERGENCY 1-ALERT 2-CRITICAL 3-ERROR 4-WARNING 5-NOTICE 6-INFO 7-DEBUG 8-ALL
+ </para>
+ <note>
+ <para>
+ Tips: The configuration item has changed since the 1.7.0 version.
+ Before the 1.7.0 version, the smaller the value, the more logs are taken according to the level:
+ 0-all 1-debug 2-info 3-notice 4-warning 5-error 6-critical 7-alert 8-emergency
+ Before the 1.7.0 version, Default 0 (All of them).
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.recall-depth">
+ <term>
+ <parameter>seaslog.recall_depth</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Log function recall depth.Will affected variable <literal>LineNo</literal> in <literal>%F</literal>.
+ Default 0
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.remote-host">
+ <term>
+ <parameter>seaslog.remote_host</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ If you use Record TCP or UDP, configure this remote ip. Default "127.0.0.1"
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.remote-port">
+ <term>
+ <parameter>seaslog.remote_port</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ If you use Record TCP or UDP, configure this remote port. Default 514
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.remote-timeout">
+ <term>
+ <parameter>seaslog.remote_timeout</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ If you use Record TCP or UDP, configure this remote timeout. Default 1 second
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.throw-exception">
+ <term>
+ <parameter>seaslog.throw_exception</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch throw SeasLog exception. 1-On(Default) 0-Off
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.throw_exception = 1</emphasis> Open an exception that throws the SeasLog to throw itself.
+ When the directory authority or the receive server port is blocked,
+ throw an exception; do not throw an exception when closed.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.trace-error">
+ <term>
+ <parameter>seaslog.trace_error</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Automatic Record final error with default logger. 1-Y(Default) 0-N
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.trace-exception">
+ <term>
+ <parameter>seaslog.trace_exception</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Automatic Record exception with default logger. 1-Y 0-N(Default)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.trace-notice">
+ <term>
+ <parameter>seaslog.trace_notice</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Automatic Record notice with default logger. 1-Y 0-N(Default)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.trace-warning">
+ <term>
+ <parameter>seaslog.trace_warning</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Automatic Record warning with default logger. 1-Y 0-N(Default)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.trim-wrap">
+ <term>
+ <parameter>seaslog.trim_wrap</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Trim the \n and \r in log message. 1-On 0-Off(Default)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.use-buffer">
+ <term>
+ <parameter>seaslog.use_buffer</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Switch use the log buffer with memory. 1-Y 0-N(Default)
+ </para>
+ <note>
+ <para>
+ <emphasis>seaslog.use_buffer = 1</emphasis> Switch the configure use_buffer on.
+ The use_buffer switch default off.
+ If switch use_buffer on, SeasLog prerecord the log with memory,
+ and them would be rewritten down into the Data Store by request shutdown
+ or php process exit (PHP RSHUTDOWN or PHP MSHUTDOWN).
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.seaslog.default-template">
+ <term>
+ <parameter>seaslog.default_template</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ Default Log template.
+ Default "%T | %L | %P | %Q | %t | %M".
+ </para>
+ <note>
+ <para>
+ The following default variables are provided,
+ which can be used directly in the log template and replaced as a corresponding value
+ when the log is eventually generated.
+ </para>
+ <para>
+ Default log template is: <literal>seaslog.default_template = "%T | %L | %P | %Q | %t | %M"</literal>,
+ that's mean,default log style is: <literal>{dateTime} | {level} | {pid} | {uniqid} | {timeStamp} | {logInfo}</literal>
+ </para>
+ <para>
+ If you custom log template, such as: <literal>seaslog.default_template = "[%T]:%L %P %Q %t %M"</literal>,
+ that's will mean,log style was custom as: <literal>[{dateTime}]:{level} {pid} {uniqid} {timeStamp} {logInfo}</literal>
+ </para>
+ <table>
+ <title>Seaslog Default Variable Table</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Variable Name</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>%L</entry>
+ <entry>Level.</entry>
+ </row>
+ <row>
+ <entry>%M</entry>
+ <entry>Message.</entry>
+ </row>
+ <row>
+ <entry>%T</entry>
+ <entry>DateTime. Such as <literal>2017-08-16 19:15:02</literal>, affected by <literal>seaslog.default_datetime_format</literal>.</entry>
+ </row>
+ <row>
+ <entry>%t</entry>
+ <entry>Timestamp. Such as <literal>1502882102.862</literal>,accurate to milliseconds.</entry>
+ </row>
+ <row>
+ <entry>%Q</entry>
+ <entry>RequestId. To distinguish a single request,
+ such as not invoking the <literal>SeasLog::setRequestId($string)</literal> function,
+ the unique value generated by the built-in <literal>static char *get_uniqid ()</literal>
+ function is used when the request is initialized.</entry>
+ </row>
+ <row>
+ <entry>%H</entry>
+ <entry>HostName.</entry>
+ </row>
+ <row>
+ <entry>%P</entry>
+ <entry>ProcessId.</entry>
+ </row>
+ <row>
+ <entry>%D</entry>
+ <entry>Domain:Port. Such as <literal>www.cloudwise.com:80</literal>; When Cli, Such as <literal>cli</literal>.</entry>
+ </row>
+ <row>
+ <entry>%R</entry>
+ <entry>Request URI. Such as <literal>/app/user/signin</literal>;
+ When Cli it's the index script, Such as <literal>CliIndex.php</literal>.</entry>
+ </row>
+ <row>
+ <entry>%m</entry>
+ <entry>Request Method. Such as <literal>Get</literal>; When Cli it's the command script, Such as <literal>/bin/bash</literal>.</entry>
+ </row>
+ <row>
+ <entry>%I</entry>
+ <entry>Client IP; When Cli it's <literal>local</literal>.
+ Priority value: HTTP_X_REAL_IP > HTTP_X_FORWARDED_FOR > REMOTE_ADDR</entry>
+ </row>
+ <row>
+ <entry>%F</entry>
+ <entry>FileName:LineNo. Such as <literal>UserService.php:118</literal>.</entry>
+ </row>
+ <row>
+ <entry>%U</entry>
+ <entry>MemoryUsage. byte. Call <literal>zend_memory_usage</literal>.</entry>
+ </row>
+ <row>
+ <entry>%u</entry>
+ <entry>PeakMemoryUsage. byte. Call <literal>zend_memory_peak_usage</literal>.</entry>
+ </row>
+ <row>
+ <entry>%C</entry>
+ <entry><literal>TODO</literal> Class::Action. Such as <literal>UserService::getUserInfo</literal></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </note>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</section>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml