Skip to content

Commit

Permalink
Use log.debug for some messages in images.py
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Nov 28, 2024
1 parent af7fbe6 commit 19cabdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gns3server/utils/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def list_images(emulator_type):
for root, _, filenames in _os_walk(directory, recurse=recurse):
for filename in filenames:
if filename in files:
log.warning("File {} has already been found, skipping...".format(filename))
log.debug("File {} has already been found, skipping...".format(filename))
continue
if filename.endswith(".md5sum") or filename.startswith("."):
continue
Expand All @@ -63,7 +63,7 @@ def list_images(emulator_type):

filesize = os.stat(os.path.join(root, filename)).st_size
if filesize < 7:
log.warning("File {} is too small to be an image, skipping...".format(filename))
log.debug("File {} is too small to be an image, skipping...".format(filename))
continue

try:
Expand Down

0 comments on commit 19cabdf

Please sign in to comment.