SAN FRANCISCO (AP) — Three Facebook Messenger app users have filed a lawsuit claiming the social network violated their privacy by collecting logs of their phone calls and text messages.

The suit, filed Tuesday in federal court in northern California, comes as Facebook faces scrutiny over privacy concerns.

READ MORE: I-Team: Bank Of America And Zelle Customers Targeted In New High-Tech Scam

Facebook acknowledged on Sunday that it began uploading call and text logs from phones running Google’s Android system in 2015. Facebook added that only users who gave appropriate permission were affected, that it didn’t collect the contents of messages or calls, and that users can opt out of the data collection and have the stored logs deleted by changing their app settings.

READ MORE: Technology Helping Melissa ISD Retain School Bus Drivers During Nationwide Shortage

The suit seeks class-action status.

A message seeking comment from Facebook on Wednesday was not immediately returned.

MORE NEWS: Parents Share Safety Concerns At Mansfield ISD Town Hall On Campus Security Following School Shooting

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)