log also err out