diff --git a/pyglossary/plugins/zimfile.py b/pyglossary/plugins/zimfile.py index 9c549c4e6..47b0f890d 100644 --- a/pyglossary/plugins/zimfile.py +++ b/pyglossary/plugins/zimfile.py @@ -218,8 +218,8 @@ def __iter__(self) -> Iterator[EntryType | None]: # noqa: PLR0912 log.info(f"ZIM Entry Count: {entryCount}") - if not fileNameTooLong: - log.error(f"Files with name too long: {len(fileNameTooLong)}") + if fileNameTooLong: + log.warning(f"Files with name too long: {len(fileNameTooLong)}") if emptyContentCount > 0: log.info(f"Empty Content Count: {emptyContentCount}")