diff --git a/environ/environ.py b/environ/environ.py index b91d3ff8..0b97c5e9 100644 --- a/environ/environ.py +++ b/environ/environ.py @@ -749,7 +749,7 @@ def read_env(cls, env_file=None, **overrides): '.env' ) if not os.path.exists(env_file): - warnings.warn( + logger.info( "%s doesn't exist - if you're not configuring your " "environment separately, create one." % env_file) return @@ -762,8 +762,8 @@ def read_env(cls, env_file=None, **overrides): with env_file as f: content = f.read() except OSError: - warnings.warn( - "Error reading %s - if you're not configuring your " + logger.info( + "%s not found - if you're not configuring your " "environment separately, check this." % env_file) return