Skip to content

Commit

Permalink
Adjust some logging levels
Browse files Browse the repository at this point in the history
  • Loading branch information
ExcaliburZero committed Oct 7, 2023
1 parent 2e3e6c6 commit adef14d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cbpickaxe/hoylake.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def load_root(self, name: str, new_root: pathlib.Path) -> None:
Must be run at least once before loading in any files (ex. monster forms).
"""
logging.info(f"Loading new root directory: {new_root}")
logging.debug(f"Loading new root directory: {new_root}")

if name in self.__roots:
raise ValueError(f"A root with name {name} has already been loaded.")
Expand Down Expand Up @@ -290,7 +290,7 @@ def __check_if_root_loaded(self) -> None:
)

def __load_translation_tables(self, root: pathlib.Path) -> None:
logging.info(f"Looking for translation files in root: {root}")
logging.debug(f"Looking for translation files in root: {root}")
translation_filepaths = sorted(root.glob("**/*.translation"))
logging.debug(
f"Found {len(translation_filepaths)} translation files in: {root}"
Expand All @@ -303,7 +303,7 @@ def __load_translation_tables(self, root: pathlib.Path) -> None:
logging.debug(
f"Successfully loaded {locale} translation file: {translation_filepath}"
)
logging.info(
logging.debug(
f"Successfully loaded {len(translation_filepaths)} translation files of locales {','.join(sorted(self.__translation_tables.keys()))}."
)

Expand Down

0 comments on commit adef14d

Please sign in to comment.