moving logger from utils