refactor,　ロガー設置