Accessing light sensor raw data
The Android system monitors the light sensor (for things like auto-adjusting the backlight), but to my knowledge doesn't specifically log that data by default.

You can get an app like AndroSensor which allows access to all your phone sensors and can monitor and log the data for you.