Setup logging sooner.