refactor about logs