Oil light on at idle when warm.

As per Dan. Take the oil pump assembly off the engine and clean it out thoroughly especially the pressure relief valve. Sometimes they crud up and the relief valve sticks. If the engine has had sludge issues, drop the pan and clean the oil pump pickup.