Make sure we write the log so that we can analyze it later on