Content

By adding the following line to your LocalSettings.php file, you will be able to log everything that WikiMedia does:

$wgDebugLogFile = ‘/path-to-your-application/logfile’;

You can edit the LocalSettings.php file via FTP, or using File Manager in cPanel.

IMPORTANT NOTE: The path above should be the exact full path to the wiki directory under your account.

For example, if your MediaWiki is installed in the public_html directory the line in the LocalSettings.php should look like this:

$wgDebugLogFile = ‘/home/user/public_html/logfile’;

Where user is your cPanel username.

Was this article helpful to you?

Hasan Ali

Leave a Reply