#26: Fix logging.