Adding logs to model