10 | | The log method is set using the `log_type` configuration option, which takes any of the following values: |
11 | | '''none'':: Suppress all log messages. |
12 | | '''file''':: Log messages to a file, specified with the `log_file` option in [wiki:TracIni trac.ini]. |
13 | | '''stderr''':: Output all log entries to console ([wiki:TracStandalone tracd] only). |
14 | | '''syslog''':: (UNIX) Send messages to local syslogd via named pipe `/dev/log`. |
15 | | '''eventlog''':: (Windows) Use the system's NT eventlog for Trac logging. |
| 10 | ログの出力方法は設定ファイルの `log_type` オプションで設定されます。以下の値が使用できます。 |
| 11 | '''none''':: すべてのログメッセージを抑制する。 |
| 12 | '''file''':: ログをファイルに出力する。[wiki:TracIni trac.ini] の''log_file''ディレクティブで指定する。 |
| 13 | '''stderr''':: コンソールにすべてのログを出力する。([wiki:TracStandalone tracd] のみ) |
| 14 | '''syslog''':: (UNIX) ローカルの名前付きパイプの`/dev/log`経由で syslogd にログを出力する。 |
| 15 | '''eventlog''':: (Windows) イベントログにTracのログを出力する。 |
21 | | The levels are: |
22 | | '''CRITICAL''':: Log only the most critical (typically fatal) errors. |
23 | | '''ERROR''':: Log failures, bugs and errors. |
24 | | '''WARN''':: Log warnings, non-interrupting events. |
25 | | '''INFO''':: Diagnostic information, log information about all processing. |
26 | | '''DEBUG''':: Trace messages, profiling, etc. |
| 21 | レベルの種類: |
| 22 | '''CRITICAL''':: 最も危険なログのみ。たいていは致命的なメッセージです。 |
| 23 | '''ERROR''':: 処理失敗、バグ、エラーの要求。 |
| 24 | '''WARN''':: 警告、処理を中断するほどではないイベント。 |
| 25 | '''INFO''':: 診断メッセージ。すべてのプロセスについてのログ情報。 |
| 26 | '''DEBUG''':: トレースメッセージ、プロファイリングなど。 |