@@ -263,7 +263,7 @@ msgid ""
263263"Python interpreter, and don't just continue from the session described "
264264"above::"
265265msgstr ""
266- "logging イベントをファイルに記録するのは非常によくあるパターンです。なので次はこれを見て行きましょう 。以下のサンプルを試すときは Python "
266+ "logging イベントをファイルに記録するのは非常によくあるパターンなので次はこれを見て行きましょう 。以下のサンプルを試すときは Python "
267267"インタプリタを新しく起動して、上のセッションの続きにならないようにしてください::"
268268
269269#: ../../howto/logging.rst:136
@@ -284,22 +284,22 @@ msgstr ""
284284#: ../../howto/logging.rst:149
285285msgid ""
286286"If you want to set the logging level from a command-line option such as:"
287- msgstr "コマンドラインのオプションからログレベルを変更した場合、以下の様に入力してください :"
287+ msgstr "次のようなコマンドラインオプションでログレベルを設定したいと考え :"
288288
289289#: ../../howto/logging.rst:155
290290msgid ""
291291"and you have the value of the parameter passed for ``--log`` in some "
292292"variable *loglevel*, you can use::"
293- msgstr "``--log`` に渡されたパラメタの値をある変数 *loglevel* に保存すれば:: "
293+ msgstr "``--log`` に渡されたパラメータの値を変数 *loglevel* に保存しているとしたら、 "
294294
295295#: ../../howto/logging.rst:160
296296msgid ""
297297"to get the value which you'll pass to :func:`basicConfig` via the *level* "
298298"argument. You may want to error check any user input value, perhaps as in "
299299"the following example::"
300300msgstr ""
301- "を使い、 *level* 引数を通して :func:`basicConfig` "
302- "に渡すべき値を得られます。ユーザの入力値をすべてエラーチェックしたいこともあり、以下のようになるかもしれません ::"
301+ "というコードを使い、 :func:`basicConfig` の *level* 引数に渡すべき値が得られます。\n "
302+ "ユーザの入力値をすべてエラーチェックしたくなり、次の例のように実装することもあるでしょう ::"
303303
304304#: ../../howto/logging.rst:172
305305msgid ""
@@ -308,7 +308,7 @@ msgid ""
308308"configuration facility, only the first call will actually do anything: "
309309"subsequent calls are effectively no-ops."
310310msgstr ""
311- ":func:`basicConfig` は、 :func:`debug` や :func:`info` を最初に呼び出す *前* "
311+ ":func:`basicConfig` は、 :func:`debug` や :func:`info` などの呼び出しよりも *前* "
312312"に呼び出さなければなりません。これは、一度限りの単純な設定機能を意図しているので、実際に作用するのは最初の呼び出しのみで、続く呼び出しの効果は no-"
313313"op です。"
314314
@@ -321,13 +321,13 @@ msgid ""
321321msgstr ""
322322"上記のスクリプトを複数回実行すると、2 回目以降の実行によるメッセージは *example.log* "
323323"に加えられます。以前の実行によるメッセージを記憶せず、実行ごとに新たに始めたいなら、上記の例での呼び出しを次のように変え、*filemode* "
324- "引数を指定することができます ::"
324+ "引数を指定する方法がとれます ::"
325325
326326#: ../../howto/logging.rst:184
327327msgid ""
328328"The output will be the same as before, but the log file is no longer "
329329"appended to, so the messages from earlier runs are lost."
330- msgstr "出力は先ほどと同じになりますが、ログファイルは追記されるのではなくなり 、以前の実行によるメッセージは失われます。"
330+ msgstr "出力は先ほどと同じになりますが、ログファイルは追記されなくなり 、以前の実行によるメッセージは失われます。"
331331
332332#: ../../howto/logging.rst:189
333333msgid "Logging from multiple modules"
0 commit comments