Log updates

Added some logging.