Bug fix to hsdir_logger.py: it now actually works.