Added the logger creation