check if log get written