The trademark infringement lawsuit was filed Oct. 27 at a federal court in Virginia.
Both companies use a similar script in their logos. Deerfield, Ill.-based Walgreen Co. says in the court complaint that consumers could be misled into thinking the companies are connected.
Walgreens says its "flying W" deserves trademark protection because it has been in use since 1951.
But Rochester-based Wegmans said the scripted "W" it adopted in 2008 is actually a copy of logos used by the supermarket in the 1930s.
Wegmans spokeswoman Jeanne Colleluori told the Democrat and Chronicle of Rochester that the company also didn't think there was any possibility consumers could be confused.