shouldn't we raise an exception complaining that the logger is badly configured?