Mercurial > public > sg101
diff core/management/commands/ssl_images.py @ 982:7db9037915c4
Logging tweaks to ssl_images.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 24 Oct 2015 21:53:29 -0500 |
parents | ef1558941bc9 |
children | 26de15fb5a80 |
line wrap: on
line diff
--- a/core/management/commands/ssl_images.py Sat Oct 24 21:29:07 2015 -0500 +++ b/core/management/commands/ssl_images.py Sat Oct 24 21:53:29 2015 -0500 @@ -75,6 +75,11 @@ requests_log.propagate = True requests_log.addHandler(handler) + dl_log = logging.getLogger("core.download") + dl_log.setLevel(logging.INFO) + dl_log.propagate = True + dl_log.addHandler(handler) + def resize_image(img_path): """Resizes the image found at img_path if necessary.