Improve file path length warning message clarity and urgency

• Change debug to warning level
• Simplify message wording
This commit is contained in:
yangdx 2025-07-26 10:00:18 +08:00
parent 56c3cb2dbe
commit 6efa8ab263

View file

@ -3166,8 +3166,8 @@ def build_file_path(already_file_paths, data_list, target):
file_paths_ignore += GRAPH_FIELD_SEP + cur_file_path
if file_paths_ignore:
logger.debug(
f"length of varchar field file_path exceeds max length target={target} ignore={file_paths_ignore}"
logger.warning(
f"Length of file_path exceeds {target}, ignoring new file: {file_paths_ignore}"
)
return file_paths