Skip to content

Commit

Permalink
only log env var keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaneve committed Jul 27, 2023
1 parent f58bf0d commit 0774497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmos/dbt/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def load_via_dbt_ls(self) -> None:
env.update(env_vars)

logger.info("Running command: `%s`", " ".join(command))
logger.info("Environment variables: %s", env_vars)
logger.info("Environment variable keys: %s", env.keys())
process = Popen(
command,
stdout=PIPE,
Expand Down
2 changes: 1 addition & 1 deletion cosmos/operators/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def run_command(
]

logger.info("Trying to run the command:\n %s\nFrom %s", full_cmd, tmp_project_dir)
logger.info("Using environment variables:\n %s", env)
logger.info("Using environment variables keys: %s", env.keys())
result = self.run_subprocess(
command=full_cmd,
env=env,
Expand Down

0 comments on commit 0774497

Please sign in to comment.