The order of write_console_log is was wrong.
	Fixed

Signed-off-by: Akintayo Abiona Olusegun <akintayo.segun@gmail.com>