Made logger more configureble