A previous commit made logging to stdout alternative to logging to a file. This patch restores stdout logging. It also ensures the formatter is applied to the root logger for consistent output. Change-Id: Ie479006c865e823484aa7b71fea29356e22cf7cd