All UK ISPs are required to keep detailed logs for at least 12 months (and no more than 24 months) as per the Investigatory Powers Act that was passed in 2016. These logs include what we would term 'usage logs' i.e. a record of all the websites you visit.  All the major UK ISPs are known to comply with the logging requirements specified in the IPA, but the government has yet to launch any real concerted action aimed at enforcing the law. So, smaller ISPs and VPN services could feasibly continue to ignore the IPA's logging requirements.