@@ -225,19 +225,19 @@ msgstr ""
225
225
226
226
#: ../../howto/logging-cookbook.rst:289
227
227
msgid "Send messages of severity ``INFO`` and ``WARNING`` to ``sys.stdout``"
228
- msgstr ""
228
+ msgstr "深刻度 ``INFO`` と ``WARNING`` のメッセージを ``sys.stdout`` に送る "
229
229
230
230
#: ../../howto/logging-cookbook.rst:290
231
231
msgid "Send messages of severity ``ERROR`` and above to ``sys.stderr``"
232
- msgstr ""
232
+ msgstr "深刻度 ``ERROR`` 以上のメッセージを ``sys.stderr`` に送る "
233
233
234
234
#: ../../howto/logging-cookbook.rst:291
235
235
msgid "Send messages of severity ``DEBUG`` and above to file ``app.log``"
236
- msgstr ""
236
+ msgstr "深刻度 ``DEBUG`` 以上のメッセージをファイル ``app.log`` に送る "
237
237
238
238
#: ../../howto/logging-cookbook.rst:293
239
239
msgid "Suppose you configure logging with the following JSON:"
240
- msgstr ""
240
+ msgstr "logging モジュールを下記の JSON によって構成したとしましょう: "
241
241
242
242
#: ../../howto/logging-cookbook.rst:335
243
243
msgid ""
@@ -247,10 +247,17 @@ msgid ""
247
247
"those messages and add it to the relevant handler. This can be configured by "
248
248
"adding a ``filters`` section parallel to ``formatters`` and ``handlers``:"
249
249
msgstr ""
250
+ "この構成は、上記の要求を *ほぼ* 行ってくれます。 ``INFO`` と ``WARNING`` の"
251
+ "メッセージに加えて、 ``sys.stdout`` が深刻度 ``ERROR`` 以上のメッセージも表示"
252
+ "してしまうことを除いては。 これを防ぐために、表示したくないメッセージを除外す"
253
+ "るフィルターを設定して関連するハンドラに追加することができます。そのような"
254
+ "フィルターは ``filters`` セクションを ``formatters`` や ``handlers`` と並べて"
255
+ "追加することで構成できます:"
250
256
251
257
#: ../../howto/logging-cookbook.rst:350
252
258
msgid "and changing the section on the ``stdout`` handler to add it:"
253
259
msgstr ""
260
+ "そして ``stdout`` のハンドラに関するセクションにフィルターを追加します:"
254
261
255
262
#: ../../howto/logging-cookbook.rst:362
256
263
msgid ""
0 commit comments