Adding logging to configuration