Skip to content

Commit 5b4131d

Browse files
committed
some logging to debug
1 parent 1ecfad5 commit 5b4131d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fagfunksjoner/data/datadok_extract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def add_dollar_or_nondollar_path(
836836
)
837837
)
838838
paths += [new_path]
839-
logger.info(
839+
logger.debug(
840840
f"Path after adding dollar '{new_path}', replacing non-dollar: '{non_dollar_path.as_posix()!s}' with '${dollar}', paths: {paths}"
841841
)
842842
return paths
@@ -877,7 +877,7 @@ def go_back_in_time(
877877
+ curr_path.name[year_range[1] :]
878878
)
879879
curr_path = Path(curr_path.parent, name_update)
880-
logger.info(f"Looking back at {looking_back}, {curr_path=}")
880+
logger.debug(f"Looking back at {looking_back}, {curr_path=}")
881881
yr_combinations = get_path_combinations(curr_path, file_exts=exts)
882882
for yrpath, ext in yr_combinations:
883883
url_address = url_from_path(yrpath.with_suffix(ext))

0 commit comments

Comments
 (0)