Setup logging before reading config

Change-Id: Ib95e0f19a67b5786b48d02a832100f103a5c6292