improved logging for config