Skip to content

Commit

Permalink
LA-170: Remove unnecessary load_file debug logs (#5544)
Browse files Browse the repository at this point in the history
  • Loading branch information
eastandwestwind authored Dec 2, 2024
1 parent f186503 commit 2d60587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ The types of changes are:
### Fixed
- Updating dataset PUT to allow deleting all datasets [#5524](https://github.com/ethyca/fides/pull/5524)

### Removed
- Removed unnecessary debug logging from the load_file config helper [#5544](https://github.com/ethyca/fides/pull/5544)


## [2.50.0](https://github.com/ethyca/fides/compare/2.49.1...2.50.0)

### Added
Expand Down
2 changes: 0 additions & 2 deletions src/fides/config/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from typing import Any, Dict, List, Union

from click import echo
from loguru import logger
from toml import dump, load

DEFAULT_CONFIG_PATH = ".fides/fides.toml"
Expand Down Expand Up @@ -42,7 +41,6 @@ def load_file(file_names: Union[List[Path], List[str]]) -> str:
for file_name in file_names:
possible_location = os.path.join(dir_str, file_name)
if possible_location and os.path.isfile(possible_location):
logger.debug("Loading file {} from {}", file_name, dir_str)
return possible_location

raise FileNotFoundError
Expand Down

0 comments on commit 2d60587

Please sign in to comment.