Add a 'directlog' option to allow logging to an exact file am: 18abf82e52 am: cffbb6caea
am: b7974f02a3

Change-Id: I2f63a0f99b8a93ac22c3f8434cc5664721966ef6