Add option to retrieve log history