@@ -82,6 +82,8 @@ msgid ""
8282":func:`openlog`. :func:`syslog` will call :func:`openlog` with no arguments"
8383" if the log is not currently open."
8484msgstr ""
85+ "后续 :func:`syslog` 调用的日志选项可以通过调用 :func:`openlog` 来设置。 如果日志当前未打开则 "
86+ ":func:`syslog` 将不带参数地调用 :func:`openlog`。"
8587
8688#: ../../library/syslog.rst:43
8789msgid ""
@@ -157,6 +159,9 @@ msgid ""
157159" :const:`LOG_WARNING`, :const:`LOG_NOTICE`, :const:`LOG_INFO`, "
158160":const:`LOG_DEBUG`."
159161msgstr ""
162+ ":const:`LOG_EMERG`, :const:`LOG_ALERT`, :const:`LOG_CRIT`, :const:`LOG_ERR`,"
163+ " :const:`LOG_WARNING`, :const:`LOG_NOTICE`, :const:`LOG_INFO`, "
164+ ":const:`LOG_DEBUG`."
160165
161166#: ../../library/syslog.rst:93
162167msgid "Facilities:"
@@ -170,6 +175,11 @@ msgid ""
170175":const:`LOG_LOCAL0` to :const:`LOG_LOCAL7`, and, if defined in "
171176"``<syslog.h>``, :const:`LOG_AUTHPRIV`."
172177msgstr ""
178+ ":const:`LOG_KERN`, :const:`LOG_USER`, :const:`LOG_MAIL`, "
179+ ":const:`LOG_DAEMON`, :const:`LOG_AUTH`, :const:`LOG_LPR`, :const:`LOG_NEWS`,"
180+ " :const:`LOG_UUCP`, :const:`LOG_CRON`, :const:`LOG_SYSLOG`, "
181+ ":const:`LOG_LOCAL0` to :const:`LOG_LOCAL7`,如果 ``<syslog.h>`` 中有定义则还有 "
182+ ":const:`LOG_AUTHPRIV`。"
173183
174184#: ../../library/syslog.rst:99
175185msgid "Log options:"
@@ -181,6 +191,8 @@ msgid ""
181191" ``<syslog.h>``, :const:`LOG_ODELAY`, :const:`LOG_NOWAIT`, and "
182192":const:`LOG_PERROR`."
183193msgstr ""
194+ ":const:`LOG_PID`, :const:`LOG_CONS`, :const:`LOG_NDELAY`,如果 ``<syslog.h>`` "
195+ "中有定义则还有 :const:`LOG_ODELAY`, :const:`LOG_NOWAIT` 以及 :const:`LOG_PERROR`。"
184196
185197#: ../../library/syslog.rst:102
186198msgid "Examples"
@@ -192,11 +204,11 @@ msgstr "简单示例"
192204
193205#: ../../library/syslog.rst:107
194206msgid "A simple set of examples::"
195- msgstr ""
207+ msgstr "一个简单的示例集:: "
196208
197209#: ../../library/syslog.rst:115
198210msgid ""
199211"An example of setting some log options, these would include the process ID "
200212"in logged messages, and write the messages to the destination facility used "
201213"for mail logging::"
202- msgstr ""
214+ msgstr "一个设置多种日志选项的示例,其中有在日志消息中包含进程 ID,以及将消息写入用于邮件日志记录的目标设施等:: "
0 commit comments