adjusting logging to load only based on config.