class_docstr: Context for MetricFlow CLI.
docstr: Returns the location of the log file path for this CLI invocation.
docstr_tok: ["Returns","the","location","of","the","log","file","path","for","this","CLI","invocation","."]
code: def log_file_path(self) -> pathlib.Path:
      """Returns the location of the log file path for this CLI invocation."""
      # The dbt Project.log_path attribute is currently sourced from the final runtime config value accessible
      # through the CLI state flags. As such, it will deviate from the default based on the DBT_LOG_PATH environment
      # variable. Should this behavior change, we will need to update this call.
      return pathlib.Path(
          self._dbt_project_metadata.project.log_path, "metricflow.log"
      )
  
imports: from __future__ import annotations
  import logging
  import pathlib
  from logging.handlers import TimedRotatingFileHandler
  from typing import Dict, Optional
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from metricflow.cli.dbt_connectors.adapter_backed_client import AdapterBackedSqlClient
  from metricflow.cli.dbt_connectors.dbt_config_accessor import dbtArtifacts, dbtProjectMetadata
  from metricflow.engine.metricflow_engine import MetricFlowEngine
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.protocols.sql_client import SqlClient
label_desc: Use image node_id 5 for calling the CLIContext obj's underlying member method code with example usage: obj.log_file_path() and returns: pathlib