Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDebugLogFile and the translation is 36% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
Despistagem de erros/registo: $wgDebugLogFile
The file name of the debug log, or empty if disabled.
Introduzida na versão:pre 1.1.0
Removida na versão:ainda em uso
Valores permitidos:(path to file)
Valor por omissão:""
"{$wgUploadDirectory }/log_dlJbnMZb" (antes de 1.1.0)
Outras configurações: Lista Alfabética | Lista por Função


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.

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


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

Ver também