diff --git a/prod_rmq_agents/subscribe_mail_lists.py b/prod_rmq_agents/subscribe_mail_lists.py index fcbc8c8e9c93c41ff66e569a83a8b475d72a534f..1f1c83a2883ae4c5ccc91a2c5a3a33b09c98d922 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}" )