GetSimple Support Forum

Full Version: PHP error_log
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://www.php.net/manual/en/function.error-log.php

Does anyone have any experience in implementing this feature? I think this would help us tremendously in catching some of the problems that seem to be falling thru the cracks lately. I am hoping it will just be as simple as adding this line in between lines 10-17 of the /admin/inc/functions.php file, but I'm not sure.

Code:
ini_set("log_errors", 1);
ini_set("error_log", "../data/other/logs/errorlog.txt");

Edit: i found this link, and it seems to have walked me thru adding it. So i did, within the functions.php file above, and I've added it to 1.7beta3 - i just need to know if it works now or not.
Very nice!