fix bug where logs were not shown on startup

Change-Id: Icc0caf9de578acb57318690af1ac5a0901f613d3