Try to pass app logger to model