Optimize logger info

This commit is contained in:
yangdx
2025-04-28 02:27:59 +08:00
parent ffd4b23783
commit bef7206192

View File

@@ -102,7 +102,7 @@ class JsonDocStatusStorage(DocStatusStorage):
data_dict = ( data_dict = (
dict(self._data) if hasattr(self._data, "_getvalue") else self._data dict(self._data) if hasattr(self._data, "_getvalue") else self._data
) )
logger.info( logger.debug(
f"Process {os.getpid()} doc status writting {len(data_dict)} records to {self.namespace}" f"Process {os.getpid()} doc status writting {len(data_dict)} records to {self.namespace}"
) )
write_json(data_dict, self._file_name) write_json(data_dict, self._file_name)