Manual:$wgDebugLogFile

This page is a translated version of the page Manual:$wgDebugLogFile and the translation is 79% complete.
デバッグ: $wgDebugLogFile
デバッグ ログのファイル名。無効にする場合は空にする。
導入されたバージョン:pre 1.1.0
除去されたバージョン:使用中
許容される値:(ファイルへのパス)
既定値:'' (1.1+)
"{$wgUploadDirectory }/log_dlJbnMZb" (prior to 1.1.0)

詳細

デバッグ ログのファイル名です。無効にする場合は空にします。 wfDebug() は、このファイルに追記します。

It is also used for structured logging, when a message goes to a channel that is not otherwise configured.

  警告: デバッグ ログは攻撃者が利用者アカウントを危険に晒せるような非公開のデータを含んでいるため、デバッグ ログのファイルに誰でもアクセスできる状態にしてはいけません。

注記

デバッグ ファイルのサイズが巨大になると、一部のサーバーでは、そのファイルを削除しない限りサーバー内部エラーが発生します。

If the file isn't generated after doing some requests to the server, check if the webserver has permissions to write on that location, and if PHP can access that file (normally restricted by the open_basedir directive).

関連項目