fixed code removing obsolete import Logger