Manual:$wgDebugLogFile
From MediaWiki.org
Debug/logging: $wgDebugLogFile | |
---|---|
The file name of the debug log, or empty if disabled. |
|
Introduced in version: | pre 1.1.0 |
Removed in version: | still in use |
Allowed values: | path to file |
Default value: | "" "{$wgUploadDirectory}/log_dlJbnMZb" before v1.1.0 |
Other settings: Alphabetical | By Function
Details[edit | edit source]
The file name of the debug log, or empty if disabled. wfDebug() appends to this file.
![]() |
The debug log file should not be publicly accessible if it is used, as it contains private data that may allow an attacker to compromise user accounts. |
Notes[edit | edit source]
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 the open_basedir
directive).
See Also[edit | edit source]
Language: | English • français • 日本語 |
---|