mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-24 06:09:55 +02:00
fix(disable logging):
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import sentry_sdk
|
||||
from sentry_sdk.integrations.logging import ignore_logger
|
||||
|
||||
from ..models.schemas import Settings
|
||||
from loguru import logger
|
||||
|
||||
|
||||
def setup(app):
|
||||
@@ -21,3 +23,5 @@ def setup(app):
|
||||
"continuous_profiling_auto_start": True,
|
||||
},
|
||||
)
|
||||
ignore_logger("logging.error")
|
||||
ignore_logger(logger.error)
|
||||
|
||||
Reference in New Issue
Block a user