mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-01 08:10:13 +03:00
fix: promote skills/prompts load logs to INFO level
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
c5af9ce389
commit
89da58fe1b
@ -241,7 +241,7 @@ class SkillsManager:
|
|||||||
del SKILLS_REGISTRY[k]
|
del SKILLS_REGISTRY[k]
|
||||||
SKILLS_REGISTRY.update(new_device_skills)
|
SKILLS_REGISTRY.update(new_device_skills)
|
||||||
|
|
||||||
logger.debug(f"Successfully reloaded {len(new_injection_skills)} injection skills and {len(new_device_skills)} device skills")
|
logger.info(f"Loaded {len(new_injection_skills)} injection skills and {len(new_device_skills)} device skills")
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to reload skills: {e}")
|
logger.error(f"Failed to reload skills: {e}")
|
||||||
@ -308,7 +308,7 @@ class SkillsManager:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
self._prompt_count = loaded_count
|
self._prompt_count = loaded_count
|
||||||
logger.debug(f"Successfully reloaded {loaded_count} prompts")
|
logger.info(f"Loaded {loaded_count} prompts")
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to reload prompts: {e}")
|
logger.error(f"Failed to reload prompts: {e}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user