but if you live somewhere that a court can compell you to log IPs, then it's all rendered useless.
you actually have to go in and disable default logging in applications and OS level functions in order to make a system NOT log something.
a court is just compelling them to turn it back on or more specifically, turn it on as it may apply to a singular user.
and yes, if you operate some place - you have to comply with its laws. there's no technical way around this unless you're going full darknet.
but if you live somewhere that a court can compell you to log IPs, then it's all rendered useless.