Added some logging debug msgs.