changed logging to one single file iside the dir specified in config.php