add file based log for easy trouble shooting

Signed-off-by: free-walker <wally.1981@yahoo.com>