mysociety / internal

Internal things (intranet, mailing lists, web IRC)
0 stars 0 forks source link

Make bots less verbose #40

Closed jacksonj04 closed 5 years ago

jacksonj04 commented 6 years ago

Swap bots to use logging instead of printing, and only output on WARNING (or above) messages or if explicitly told to be verbose with -v flag:

Relates to #38 (but doesn't close, since the messages should still go to a new cron-bots@ email address).

jacksonj04 commented 5 years ago

@dracos I've tweaked this to remove the reliance on import_aliases so hopefully flake8 will be satisfied now.