fixed logging configure problem