Fixed logging.  Fixes #2