put max number logs in variable