def test_log_settings_from_config(self):
        """Test that values set in ProjectFlags for log settings will set flags as expected"""
        context = self.make_dbt_context("run", ["run"])

        config = ProjectFlags(log_format="json", log_level="warn", use_colors=False)

        flags = Flags(context, config)

        assert flags.LOG_FORMAT == "json"
        assert flags.LOG_FORMAT_FILE == "json"
        assert flags.LOG_LEVEL == "warn"
        assert flags.LOG_LEVEL_FILE == "warn"
        assert flags.USE_COLORS is False
        assert flags.USE_COLORS_FILE is False
Test that values set in ProjectFlags for log settings will set flags as expected
tests/unit/cli/test_flags.py