When turning on the ignition my oil light comes on but not the generator light. I checked the bulb and it is OK. The generator is also working OK. What do I check next?

Thank you for your help.

Wayne