Why pass the `log` in, rather than just using a file-global `log` as we do in the rest of edx-platform?