Skip to content

Commit 0300a5c

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 6ae0182 commit 0300a5c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

howto/logging-cookbook.po

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,10 +913,17 @@ msgid ""
913913
"dummy request will always appear together in a log line). This is "
914914
"illustrated by the following shell output:"
915915
msgstr ""
916+
"上記のコードを実行すると、およそ半分のリクエストが :file:`app1.log` に、残り"
917+
"半分が :file:`app2.log` にそれぞれ記録され、同時に全てのリクエストが :file:"
918+
"`app.log` に記録されることがわかるでしょう。それぞれの web アプリケーション固"
919+
"有のログはそれぞれのアプリケーションからのログエントリだけを含み、リクエスト"
920+
"情報が矛盾なくログに表示されている (すなわち、各ダミーリクエストの情報は常に"
921+
"ログの行とともに現れる) はずです。このことは以下のシェルコマンドの出力により"
922+
"例示されています:"
916923

917924
#: ../../howto/logging-cookbook.rst:1218
918925
msgid "Imparting contextual information in handlers"
919-
msgstr ""
926+
msgstr "ハンドラ内でのコンテキスト情報の付与"
920927

921928
#: ../../howto/logging-cookbook.rst:1220
922929
msgid ""
@@ -925,6 +932,10 @@ msgid ""
925932
"handlers, you can use a filter that returns a new :class:`~LogRecord` "
926933
"instead of modifying it in-place, as shown in the following script::"
927934
msgstr ""
935+
":class:`~Handler` はそれぞれ一連のフィルタを独自に持っています。コンテキスト"
936+
"情報を、他のハンドラに漏らすことなく :class:`LogRecord` に付加したい場合、以"
937+
"下に示すスクリプトのように、直接レコードを編集する代わりに新しい :class:"
938+
"`~LogRecord` を返すフィルタを使うことができます::"
928939

929940
#: ../../howto/logging-cookbook.rst:1247
930941
msgid "Logging to a single file from multiple processes"
@@ -1050,7 +1061,7 @@ msgstr ""
10501061

10511062
#: ../../howto/logging-cookbook.rst:1524
10521063
msgid "Deploying Web applications using Gunicorn and uWSGI"
1053-
msgstr ""
1064+
msgstr "Gunicorn と uWSGI を用いた Web アプリケーションのデプロイ"
10541065

10551066
#: ../../howto/logging-cookbook.rst:1526
10561067
msgid ""

0 commit comments

Comments
 (0)