Issues #47 #65: Adding log to help to debug