Skip to content

Commit

Permalink
print to logger debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL committed Oct 1, 2024
1 parent bcffb44 commit 051592f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalogbuilder/intakebuilder/gfdlcrawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def crawlLocal(projectdir, dictFilter,dictFilterIgnore,logger,configyaml,slow):
#if our filename expectations are not met compared to the output_file_path_template in config, skip the loop. TODO revisit for statics
if ("static" not in filename):
if ((len(filename.split('.'))-1) != len(set_ftemplate)):
print("Skipping ",filename)
logger.debug("Skipping "+filename)
continue
logger.info(dirpath+"/"+filename)
logger.debug(dirpath+"/"+filename)
dictInfo = {}
dictInfo = getinfo.getProject(projectdir, dictInfo)
# get info from filename
Expand Down

0 comments on commit 051592f

Please sign in to comment.