As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
BOS CREW REPORTED RT ENG OIL FILTER BYPASS LIGHT ILLUMINATED. ENG WAS SHUT DOWN IAW QRH, SINGLE ENG TIME 25 MINUTES. EMERGENCY DECLARED FLIGHT RETURNED BOS LANDED WITHOUT INCIDENT. ACFT REMOVED FROM SERVICE. REPLACED RT ENG OIL SUPPLY FILTER. SYS GND CHECKED NORMAL, OPERATIONS CLOSED.