create the logger