Jump to content

Topic on Manual talk:$wgDebugLogGroups

Triggering file logging

3
Kghbln (talkcontribs)

Apart form defining the log groups: Do I have to set the follwing in my "LocalSettings.php" file, e.g.:

error_reporting( -1 );
ini_set( 'display_errors', 1 );

The reason I am asking is that I would not like to expose anything that is logged to the visitor's attention but still log the issues they create. So I would like to avoid such a setting as shown above.

BDavis (WMF) (talkcontribs)

Neither of these settings should be needed or desired in a production wiki.

Kghbln (talkcontribs)

Thanks a lot for confirming. Otherwise it would only be half of the fun to log errors etc. I asked since the settings above manipulate the PHP layer which may influence everything that comes behind it. The logging is however smart enough. :)

Reply to "Triggering file logging"