You mean the courtesy lights? If so, sounds like a bad door switch somewhere.
The dome light should stay on for about 15 seconds and then go out as a courtesy light. If it stays on all the time you probably need to check the dash and turn it off. Usually the dash light dimmer rotates tp a point that will turn it off.
check your dash light dimmer switch it may be turn all the way up if so turn it down this should turn the lights off and also on some models there is an override switch that should be by where you turn your headlamps on if you push this in it should shut off the lights but will not allow them to come on when doors are opened
Could be the interior light switch on the dash is turned on or the door light switch is broken.
Just above the headlight switch is the dimmer control for the dash lights - roll it all the way to the right to turn the interior lights on and, of course, to the left to turn the dome out and the farther you turn it the dimmer the dash panel gets. There is also that switch on the dash next to the fog light switch which controls the dome light activation when any of the doors are open and if it is on and a door is ajar, the light won't go out. Or if one of the door switches is loose or stuck it will affect the operation of the light as well. In that case turn the door switch off.
When you turn the key off and lock the doors, there will be a red light on the top of the dash that flashes while the alarm arms.
You'll need to check all the pin switches on the doors, one of them isn't working.
I believe you turn the gauge panel dimmer wheel all the way down ( located just to the right of your headlight switch on your dash )
There is a vacuum line attached to the back of the headlight switch on the dash. When you pull the switch out to turn on the lights this allows vacuum to open the light doors through rubber vacuum lines. When you turn the lights off this cuts the vacuum to the lights and a spring opperates the doors and closes them.
the light in the dash has been removed or blown out.
Using your entry remote, lock and unlock the doors. This happened to me when I had the battery changed. Subaru tech told me to lock and unlock with the remote and it worked.
This is from a relay under the dash that turns your dome light on. More than likely, you are missing a rubber pad in one of your doors that pushes up against the switch to turn your dome light on. The front doors have 2, one is for the headlight warning. Check all the doors and check for a loose switch also.
I think the exclamation light is the light for you to turn on you headlights.