Setting up logger on startup