Edit wp-config.php file to set time for autosaving posts, pages,.. and the number of post or pages previous versions – revisions.
WordPress debug mode configuration and show error notifications
wp-config.php file configurations: Not to make log file accessible, you should add these lines on .htaccess file in log file directory.