Initialize logging before loading siteconfig.
Review Request #5353 — Created Jan. 29, 2014 and submitted
Initialize logging before loading siteconfig.
My recent change to improve test times by reducing initialization ended
up swapping thelog.init_logging()
call andload_site_config()
. This
resulted in a lot of annoying log messages for many commands, such as
manage.py evolve
. This change restores the order.
Ran some management commands. Didn't see tons of SQL statements fly by.
Unit tests pass.