Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add log line to positive case #39

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

ashultz0
Copy link
Contributor

@ashultz0 ashultz0 commented Jul 20, 2023

thought of this when I was working out how we should alert - I don't think we actually need this for alerting but it is useful for debugging

sample line

2023-07-20 13:21:59,530 INFO 118 [ai_aside.block] [user 3] [ip 172.19.0.1] block.py:214 - Summary hook injecting into block-v1:edX+DemoX+Demo_Course+type@vertical+block@vertical_2dbb0072785e

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

it's too chatty to add a log every time we might trigger this aside
because that is all blocks, but a log line when we intend to is useful
for debugging and success measurement
Copy link
Member

@rijuma rijuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (Logs good to me)

@ashultz0 ashultz0 merged commit 15384e1 into main Jul 20, 2023
@ashultz0 ashultz0 deleted the ashultz0/positive-log branch July 20, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants