fix: demote loader-level load logs to DEBUG, info already reported by manager

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
YueGuobin 2026-05-12 13:52:05 +08:00
parent 89da58fe1b
commit b7a0b611df
No known key found for this signature in database

View File

@ -131,7 +131,7 @@ class SkillsLoader:
except Exception as e:
logger.error(f"Failed to load skill from {yaml_file}: {e}")
logger.info(f"Loaded {len(skills)} device skills from {device_dir}")
logger.debug(f"Loaded {len(skills)} device skills from {device_dir}")
return skills
def load_prompt(self, prompt_name: str) -> str:
@ -225,7 +225,7 @@ class SkillsLoader:
except Exception as e:
logger.error(f"Failed to load protocol from {yaml_file}: {e}")
logger.info(f"Loaded {len(protocols)} packet analysis protocols from {packet_analysis_dir}")
logger.debug(f"Loaded {len(protocols)} packet analysis protocols from {packet_analysis_dir}")
return protocols
def _load_yaml(self, file_path: Path) -> Dict[str, Any]: