The log file was successfully updated. The problem is likely within the logic of prepare.php.
Script is running as user: typos492