rantanplan log stat to db