Clean up everything before build
Switch from fmt to log