mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-28 03:02:22 +02:00
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:
parent
89da58fe1b
commit
b7a0b611df
@ -131,7 +131,7 @@ class SkillsLoader:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to load skill from {yaml_file}: {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
|
return skills
|
||||||
|
|
||||||
def load_prompt(self, prompt_name: str) -> str:
|
def load_prompt(self, prompt_name: str) -> str:
|
||||||
@ -225,7 +225,7 @@ class SkillsLoader:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to load protocol from {yaml_file}: {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
|
return protocols
|
||||||
|
|
||||||
def _load_yaml(self, file_path: Path) -> Dict[str, Any]:
|
def _load_yaml(self, file_path: Path) -> Dict[str, Any]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user