now writes log file under user.home

Change-Id: Ic91b591772ece1a5dcaa76b56048e09bf7ba258f