Skip to content

Commit a1eb8f8

Browse files
Update src/dotenv/main.py
Co-authored-by: Saurabh Kumar <theskumar@users.noreply.github.com>
1 parent 32b679f commit a1eb8f8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/dotenv/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,9 @@ def load_dotenv(
351351
to this function as `dotenv_path`.
352352
"""
353353
if _load_dotenv_disabled():
354-
logger.warning(
355-
"python-dotenv has been disabled by PYTHON_DOTENV_DISABLED environmental variable"
356-
)
354+
logger.debug(
355+
"python-dotenv: .env loading disabled by PYTHON_DOTENV_DISABLED environment variable"
356+
)
357357
return False
358358

359359
if dotenv_path is None and stream is None:

0 commit comments

Comments
 (0)