Adding a logger