Yeah, I'll put a PR in to remove the monkey patches there while I'm working through these comments.  I agree that adding a special log handler probably isn't the best way to go for the dashboard either, but it was better than capturing standard out that was there before, and I couldn't think of any other way to get course import debug information from all the different modules that get called on import without adding handlers to each of them and touching a lot of internal code.