A web server’s logs may include the IP and http request they’ve made, but once you start attaching that to an identity instead it might count as data processing.
> ‘processing’ means any operation or set of operations which is performed on personal data or on sets of personal data, whether or not by automated means, such as collection, recording, organisation, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction, erasure or destruction;
https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...
One can use the “legitimate interest” basis (recital 49 may be relevant here) or “compliance with a legal obligation” for logging.
Cookies aren't really mentioned in GDPR or other privacy laws, folks just latched onto cookies as one area that can track users. But really, all personal data is subject to most of the privacy laws, including outbound requests as well as stored data.
IANAL. But for context from lawyers, see: https://ico.org.uk/for-organisations/direct-marketing-and-el...