988430, 988861: remove logging from write_cache to avoid segfault
Merge pull request #722 from candlepin/ckozak/logging_segfault

988430, 988861: remove logging from write_cache to avoid segfault