logger and ret of invest