init logger + model