Added new detailed logging