File photo.

More than 10,000 gallons of spilled sewage prompted Long Beach to shut its shoreline to swimmers Tuesday “out of an abundance of caution,” city officials said.

A grease blockage in a sewage line in Glendale caused the spill, sending 10,400 gallons of sewage into the Los Angeles River, which empties out in Long Beach, authorities said in a statement.

Long Beach City Health Officer Dr. Anissa Davis said people should avoid any contact with the water along the city’s seven miles of public beaches until testing confirms bacteria levels are safely back to normal.

Health-inspection teams began testing the water after being notified of the spill by Glendale, authorities said.

“Water testing will continue until results comply with state water-quality standards,” the city said in a statement.

You can check the latest water-quality levels by calling 562-570-4199 or visiting longbeach.gov/beachwaterquality.

Jeremiah Dobruck is executive editor of the Long Beach Post where he oversees all day-to-day newsroom operations. In his time working as a journalist in Long Beach, he’s won numerous awards for his investigative reporting and editing. Before coming to the Post in 2018, he wrote for publications including the Press-Telegram, Orange County Register and Los Angeles Times. Reach him at [email protected] or @jeremiahdobruck on Twitter.