Which law requires you to log the IP address used to connect to your service?
https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000023646013
On the books since 2011. Upheld in a recent decision of France's supreme court despite what some thought to be quite clearly contrary EU caselaw (which takes precedence over national law, roughly speaking) https://www.nextinpact.com/article/45613/comment-conseil-det...
https://threatpost.com/protonmail-log-ip-address-french-acti...
From that article: “The internet is generally not anonymous, and if you are breaking Swiss law, a law-abiding company such as ProtonMail can be legally compelled to log your IP address.”