Skip to content

Commit b4744f5

Browse files
committed
Do not send events by default
1 parent a610066 commit b4744f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from typing import Optional
2424

2525
DEFAULT_LEVEL = logging.INFO
26-
DEFAULT_EVENT_LEVEL = logging.ERROR
26+
DEFAULT_EVENT_LEVEL = None # None means no events are captured
2727
LOGGING_TO_EVENT_LEVEL = {
2828
logging.NOTSET: "notset",
2929
logging.DEBUG: "debug",

0 commit comments

Comments
 (0)