fix logs model