Fix Log creation

Change-Id: I1ce264b37de61c02af558b181157a6783e6200a7
Merge "Fix Log creation" into kitkat