Added a logger