mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-09-30 19:59:34 +02:00
fix(disable logging):
This commit is contained in:
1 parent
1ce59151f3
commit
ba36dcd02f
1 file changed
+4
@@ -1,6 +1,8 @@
|
|||||||
import sentry_sdk
|
import sentry_sdk
|
||||||
|
from sentry_sdk.integrations.logging import ignore_logger
|
||||||
|
|
||||||
from ..models.schemas import Settings
|
from ..models.schemas import Settings
|
||||||
|
from loguru import logger
|
||||||
|
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
@@ -21,3 +23,5 @@ def setup(app):
|
|||||||
"continuous_profiling_auto_start": True,
|
"continuous_profiling_auto_start": True,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
ignore_logger("logging.error")
|
||||||
|
ignore_logger(logger.error)
|
||||||
Reference in new issue
Block a user