I have added the following to my LocalSettings.php file :-
$wgDebugLogFile = "/var/www/log/WikiLog.txt";
and ran :-
php maintenance*/*update.php
Then tried adding :-
wfDebugLog("MathRenderer::__construct()");
to math.body.php's MathRenderer constructor.
But am not getting any output in the log file from this.
Anyone shed any light on what I am doing wrong ?
Many thanks in advance,
Aaron
On 12/28/2012 07:09 PM, Aaron Gray wrote:
I have added the following to my LocalSettings.php file :-
$wgDebugLogFile = "/var/www/log/WikiLog.txt";
Are you sure the web server has permission to write to this file? Try using
$wgDebugLogFile = "/tmp/debug.log";
(assuming /tmp/debug.log doesn't exist) and trying again?
Is there anything in your error log?
I added the line to a new installation and got a ton of information in it.
On 29 December 2012 20:44, Mark A. Hershberger mah@everybody.org wrote:
On 12/28/2012 07:09 PM, Aaron Gray wrote:
I have added the following to my LocalSettings.php file :-
$wgDebugLogFile = "/var/www/log/WikiLog.txt";
Are you sure the web server has permission to write to this file? Try using
$wgDebugLogFile = "/tmp/debug.log";
(assuming /tmp/debug.log doesn't exist) and trying again?
Is there anything in your error log?
I added the line to a new installation and got a ton of information in it.
Thanks Mark that did the trick !
Aaron
mediawiki-l@lists.wikimedia.org