Countless websites are served by webserver software (Apache, nginx, etc.) which logs the source IP address of every web page visit. The GDPR considers an IP address "personal data" that is subject to the GDPR. The GDPR requires consent of the subject for collection or storage of personal data (in this case, IP addresses in a log file). How is a website owner supposed to acquire consent by way of the website if the very act of visiting the website page to acquire consent records the "personal data" about which consent is being granted?
Obviously, the option is available to website owners to configure their webservers not to log IP addresses, but that has security implications. Do these security concerns suffice to absolve a website owner from requiring consent to log IP addresses? Is a prominent notice (on every page, until dismissed) sufficient?
How is the GDPR supposed to be interpreted with respect to the extremely common and prevalant practice of IP address logging?
(I have read Would GDPR affect my own personal website? and the answers at the time of this writing are not sufficiently satisfactory. Article 6, paragraph 1 does not make the question of automatic IP address logging without explicit consent clearly acceptable or not. http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32016R0679&from=EN )