Setting up a common logger