Already went to 2 mechanics but none of them could solve this problem. One of the mechanic said " sir you can turn it off manually right, live with it sir not a big problem"
Door switches are all fine. i have stripped the +ve and -ve wires to wire the new light and accidentally the two wires came into contact and the light turned on suddenly when the switch is on "door" position. After that i secured the two wires using electrical tape as my diy has gone wrong. I will check it again. Swift has a door open indicator on the meter console and it doesn't lit up when the doors are closed, so i assume the door switches are fine(opened and closed every door including boot and hood to confirm this).
I can manually switch on and off the light, but it does not turn off when the switch is placed at 'Door' position and the doors are shut.
Planning to buy led scuff plates so need to connect to dome light to work with the doors.
Thanks dharmesh and Varun for immediate reply.