Skip to content

Commit 9d0f7db

Browse files
committed
remove annoying log for local. Only show log for encrypted vault
1 parent ad89bb3 commit 9d0f7db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dotenv_vault/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ def load_dotenv(
2424
"""
2525
dotenv_vault = DotEnvVault()
2626
if dotenv_vault.dotenv_key:
27-
logger.info('Getting .env from vault.')
27+
logger.info('Loading env from encrypted .env.vault')
2828
vault_stream = dotenv_vault.parsed_vault()
2929
# we're going to override the .vault to any existing keys in local
3030
return load_dotenv_file(stream=vault_stream, override=True)
3131
else:
32-
logger.info('Getting .env from local.')
3332
return load_dotenv_file(
3433
dotenv_path=dotenv_path,
3534
stream=stream,

0 commit comments

Comments
 (0)