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

Change-Id: I355bbded6795917ef0ca6f48b7d29be8801c3013