[eluser]John_Betong[/eluser]
When developing I have my logfile set so:
1. it only displays errors
2. the logfile is open in my editor
3. when an error occurs the editor says the file has changed and do I want to upload the changed file.
3. after I have cleared the error I delete and save the cleared log file.
./config/config.php
Code:
...
...
...
define('LOCALHOST', 'localhost' === $_SERVER['SERVER_NAME']);
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', LOCALHOST ? 'On', 'Off')
$config['log_threshold'] = LOCALHOST ? 1 : 0;
...
...
...