Can not use logger before it it created.