Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Best Practice for Outputting Debug Errors in Vanilla

edited November 2013 in Vanilla 2.0 - 2.8

Hi, I'm wondering what is the best way to output debug errors in Vanilla. I've been trying to use the error log. I found a post here that said these lines shoudl be added to the config file:

$Configuration['Garden']['Errors']['LogEnabled'] = TRUE;

$Configuration['Garden']['Errors']['LogFile'] = 'logs/error-log';
$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';

I did that but am not getting any output. I added a 'log' directory to the root of my vanilla install, and gave it the appropriate permissions and ownership, but no log file is appearing there.

Basically, what I want to do is be able to output debug comments via error_log or some such method...



Sign In or Register to comment.