I know how to access the live log in squid with the following command in the terminal:

sudo tail -f /var/log/squid/access.log

How do I view more? For example, I want to see what websites were accessed 1,2 or maybe 3 days ago.

Thanks