move require lines until after logger is initialized