added missing \n to logging lines.