Optimize logger info

This commit is contained in:
yangdx
2025-04-28 02:46:11 +08:00
parent 3e385b5f81
commit 1f18b99df0

View File

@@ -79,7 +79,7 @@ class JsonKVStorage(BaseKVStorage):
# For non-cache namespaces, use the original count method # For non-cache namespaces, use the original count method
data_count = len(data_dict) data_count = len(data_dict)
logger.info( logger.debug(
f"Process {os.getpid()} KV writting {data_count} records to {self.namespace}" f"Process {os.getpid()} KV writting {data_count} records to {self.namespace}"
) )
write_json(data_dict, self._file_name) write_json(data_dict, self._file_name)