Logging to file too.

Change-Id: I705e75e190909a13b6600bf23f50cfb46d552028