Updated logrini to work with the newest Martini version