Skip to content

Commit

Permalink
Dropping email logs to trace level
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Nov 28, 2023
1 parent aecbb30 commit 633111e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uber/tasks/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ def send_automated_emails():

log.debug("Loading instances for " + automated_email.ident)
model_instances = query_func(session)
log.debug("Finished loading instances")
log.trace("Finished loading instances")
for model_instance in model_instances:
log.debug("Checking " + str(model_instance.id))
log.trace("Checking " + str(model_instance.id))
if model_instance.id not in automated_email.emails_by_fk_id:
if automated_email.would_send_if_approved(model_instance):
if automated_email.approved or not automated_email.needs_approval:
Expand Down

0 comments on commit 633111e

Please sign in to comment.