From 2493b4c6a95852ea9b25d8698e7dc85d3a6e2ec7 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Fri, 14 May 2021 10:49:07 -0500 Subject: [PATCH] Update logger used in sub_mail agent --- prod_rmq_agents/subscribe_mail_lists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prod_rmq_agents/subscribe_mail_lists.py b/prod_rmq_agents/subscribe_mail_lists.py index fcbc8c8..1f1c83a 100644 --- a/prod_rmq_agents/subscribe_mail_lists.py +++ b/prod_rmq_agents/subscribe_mail_lists.py @@ -55,7 +55,7 @@ def mail_list_subscription(ch, method, properties, body): email_msg.set_content(listserv_cmd) if not args.dry_run: s.send_message(email_msg) - logging.info( + logger.info( f"This email will add user {username} to listserv \n{email_msg}" ) -- GitLab