I have written a logger
, but now whenever I run it all I see are SQL statements from my execute statements. Is there a way to remove these statements from my log
[Wed, 17 Sep 2014 11:30:17] - execute - (0.000) SELECT `main_provider`.`name`, `main_provider`.`test_mode`, `main_provider`.`is_active`, `main_provider`.`allowed_domains`, `main_provider`.`xlsx_template_url`, `main_provider`.`itunes_film_name`, `main_provider`.`itunes_film_username`, `main_provider`.`itunes_film_password`, `main_provider`.`itunes_tv_name`, `main_provider`.`itunes_tv_username`, `main_provider`.`itunes_tv_password`, `main_provider`.`premiere_can_view_provider`, `main_provider`.`rate_per`, `main_provider`.`rate_cap`, `main_provider`.`rate_offset` FROM `main_provider` WHERE `main_provider`.`name` = 'studiocanal' ; args=('studiocanal',)
[Wed, 17 Sep 2014 11:30:17] - execute - (0.000) SELECT `main_provider`.`name`, `main_provider`.`test_mode`, `main_provider`.`is_active`, `main_provider`.`allowed_domains`, `main_provider`.`xlsx_template_url`, `main_provider`.`itunes_film_name`, `main_provider`.`itunes_film_username`, `main_provider`.`itunes_film_password`, `main_provider`.`itunes_tv_name`, `main_provider`.`itunes_tv_username`, `main_provider`.`itunes_tv_password`, `main_provider`.`premiere_can_view_provider`, `main_provider`.`rate_per`, `main_provider`.`rate_cap`, `main_provider`.`rate_offset` FROM `main_provider` WHERE `main_provider`.`name` = 'summit' ; args=('summit',)
[Wed, 17 Sep 2014 11:30:17] - send_confirmation_email - >>>>> Sending FAILURE email confirmation.
In the above, I would only want the statement in the function send_confirmation_email