Initialize the logger before we use it.