Added some more informative logging.