adding a python example to send a msg using the logger