Fixes #971--this previously worked correctly but when I merged #867 I put some things in the wrong order.
Merge pull request #971 from iguananaut/issue-971

No handlers could be found for logger "root"