@romeus85 In my (non-lawyer) experience, the answer to that is... it's complicated.
You should have a privacy policy explaining what data you store and for what purposes.
You shouldn't need consent to store an IP address as long as it's in order to properly maintain the service or keep it...