Question: are all bugs attracted to light?
Answer: While it isn't the same for all insects, those that are attracted to lights are normally attracted to UV light and white light. That's why hundreds of bugs will swarm around your bright white fluorescent lights but only a few will come to a campfire.