Skip to content

Commit

Permalink
chore(grouping): update log level default for grouping (#267)
Browse files Browse the repository at this point in the history
* update log level default for grouping

* avoid circular import
  • Loading branch information
trillville authored Mar 1, 2024
1 parent d4784a8 commit 535195b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/seer/bootup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os
from typing import Collection

Expand Down Expand Up @@ -27,6 +28,10 @@ def bootup(
with_async=False,
eager_load_inference_models=False,
) -> Flask:
from seer.grouping.grouping import logger as grouping_logger

grouping_logger.setLevel(logging.INFO)

sentry_sdk.init(
dsn=os.environ.get("SENTRY_DSN"),
integrations=[*plugins],
Expand Down

0 comments on commit 535195b

Please sign in to comment.