Activity history is limited by item number (1000 logs) and by size (5 MB). There is no time limit for logs.