Skip to content

Commit a4fd84f

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent d015e5e commit a4fd84f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

howto/logging-cookbook.po

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,19 +225,19 @@ msgstr ""
225225

226226
#: ../../howto/logging-cookbook.rst:289
227227
msgid "Send messages of severity ``INFO`` and ``WARNING`` to ``sys.stdout``"
228-
msgstr ""
228+
msgstr "深刻度 ``INFO`` と ``WARNING`` のメッセージを ``sys.stdout`` に送る"
229229

230230
#: ../../howto/logging-cookbook.rst:290
231231
msgid "Send messages of severity ``ERROR`` and above to ``sys.stderr``"
232-
msgstr ""
232+
msgstr "深刻度 ``ERROR`` 以上のメッセージを ``sys.stderr`` に送る"
233233

234234
#: ../../howto/logging-cookbook.rst:291
235235
msgid "Send messages of severity ``DEBUG`` and above to file ``app.log``"
236-
msgstr ""
236+
msgstr "深刻度 ``DEBUG`` 以上のメッセージをファイル ``app.log`` に送る"
237237

238238
#: ../../howto/logging-cookbook.rst:293
239239
msgid "Suppose you configure logging with the following JSON:"
240-
msgstr ""
240+
msgstr "logging モジュールを下記の JSON によって構成したとしましょう:"
241241

242242
#: ../../howto/logging-cookbook.rst:335
243243
msgid ""
@@ -247,10 +247,17 @@ msgid ""
247247
"those messages and add it to the relevant handler. This can be configured by "
248248
"adding a ``filters`` section parallel to ``formatters`` and ``handlers``:"
249249
msgstr ""
250+
"この構成は、上記の要求を *ほぼ* 行ってくれます。 ``INFO`` と ``WARNING`` の"
251+
"メッセージに加えて、 ``sys.stdout`` が深刻度 ``ERROR`` 以上のメッセージも表示"
252+
"してしまうことを除いては。 これを防ぐために、表示したくないメッセージを除外す"
253+
"るフィルターを設定して関連するハンドラに追加することができます。そのような"
254+
"フィルターは ``filters`` セクションを ``formatters`` や ``handlers`` と並べて"
255+
"追加することで構成できます:"
250256

251257
#: ../../howto/logging-cookbook.rst:350
252258
msgid "and changing the section on the ``stdout`` handler to add it:"
253259
msgstr ""
260+
"そして ``stdout`` のハンドラに関するセクションにフィルターを追加します:"
254261

255262
#: ../../howto/logging-cookbook.rst:362
256263
msgid ""

0 commit comments

Comments
 (0)