It's not much of an answer, but in case someone else runs into this problem, I was able to get logging to work by using the NLog library here.