Most apps have an option in their notification settings that let you set the notification light functions. If you want it off globally so no app activates it, go into the sound and notification settings of the phone. There's an option to turn it off there