Skip to content

Commit

Permalink
change(clamav): adapt logging message to same style
Browse files Browse the repository at this point in the history
  • Loading branch information
pmayer committed Aug 29, 2023
1 parent 4d2662b commit 106b4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media_server/clamav.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def validate_file_infection(file):
# Ping the server if it fails than the server is down
scanner.ping()
# Server is up. This means that the file is too big.
logger.warning(f'The file is too large for ClamD to scan it. Bytes Read {file.tell()}')
logger.warning(f'ClamD: The file is too large for ClamD to scan it. Bytes Read {file.tell()}')
file.seek(0)
return
except clamd.BufferTooLongError as e:
Expand Down

0 comments on commit 106b4cc

Please sign in to comment.