logging isn't working. This stops errors, but doesn't fix them.