Fix logging config in cache.py. Closes #22.