Skip to content
Snippets Groups Projects

Ignore noisy log but harmless messsages from adc-streaming

Merged Leo P. Singer requested to merge leo-singer/gwcelery:ignore-logger-adc-streaming into main
1 file
+ 7
1
Compare changes
  • Side-by-side
  • Inline
@@ -4,7 +4,7 @@ from urllib.parse import urlparse, urlunparse
from celery.utils.log import get_logger
from safe_netrc import netrc, NetrcParseError
import sentry_sdk
from sentry_sdk.integrations import celery, flask, redis, tornado
from sentry_sdk.integrations import celery, flask, logging, redis, tornado
from .. import _version
from ..util import SPHINX
@@ -48,6 +48,12 @@ def configure():
netloc)
return
# Ignore noisy log but harmless messsages from adc-streaming.
#
# FIXME: Remove once https://git.ligo.org/emfollow/gwcelery/-/issues/457
# is fixed.
logging.ignore_logger('adc-streaming')
# The "legacy" Sentry DSN requires a "public key" and a "private key",
# which are transmitted as the username and password in the URL.
# However, as of Sentry 9, then "private key" part is no longer required.
Loading