Update main.py

Modified logger to output device name while connecting to each device.