Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgDebugLogFile

From mediawiki.org
Translate this page
Languages:
Debug: $wgDebugLogFile
The file name of the debug log, or empty if disabled.
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(path to file)
Default value:'' (1.1+)
"{$wgUploadDirectory}/log_dlJbnMZb" (prior to 1.1.0)
Other settings:Alphabetical |By function

Details

[edit]

The file name of the debug log, or empty if disabled.wfDebug() appends to this file.

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

WarningWarning:The debug log file should not be publicly accessible, as it contains private data that may allow an attacker to compromise user accounts.

Notes

[edit]

If the debug file gets too big, some servers will generate an internal server error until you delete said file.

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 theopen_basedir directive).

See also

[edit]
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgDebugLogFile&oldid=6403524"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp