Sending error log to the console view almost done. Only need to add the
logging on the submit button.