improving logging process in runner class