Added some more logging information.