The wiring is not hard to find. Jack the car up, turn the wheel to the side and you will see where the wires go up toward the bottom of the wheel bearing.
And if the light is random, more chances than not, its the wiring. If it were the bearing the light would be constant.