Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

One more dead logger, same shape as the last (#783)

Beenu Arora3838e5f18649
diff --git a/services/api/app/services/llm_safety.py b/services/api/app/services/llm_safety.py
index ed49b2f8e..cdb62b993 100644
--- a/services/api/app/services/llm_safety.py
+++ b/services/api/app/services/llm_safety.py
@@ -43,7 +43,6 @@ from collections.abc import Iterable
from typing import Any
import httpx
-import structlog
# `X as X` is the explicit re-export form (PEP 484). These names are this
# module's public surface — callers do
@@ -68,8 +67,6 @@ from app._vendor.llm_contract_rules import (
validate_messages as validate_messages,
)
-logger = structlog.get_logger(__name__)
-
# These names are re-exports: callers do
# `from app.services.llm_safety import LLMContractViolation`, and the rules
# themselves live in the vendored copy so `services/api` can carry them