Initialize logging before loading siteconfig.

Review Request #5353 — Created Jan. 29, 2014 and submitted

Information

Review Board
master

Reviewers

Initialize logging before loading siteconfig.

My recent change to improve test times by reducing initialization ended
up swapping the log.init_logging() call and load_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.

david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed