Use console.log when env isn't set

 * Reverts some of cabf83f2e5328776e56d794ab45e01026b3ef37d.

Change-Id: Ib40c169a2b62f9314e237012c02517a89a5707a9
Merge "Use console.log when env isn't set"