def on_subscribe(client, userdata, mid, granted_qos):
    info('mqtt', ('on_subscribe mid: ' + mid))
def on_subscribe(client, userdata, mid, granted_qos):
    info('mqtt', ('on_subscribe mid: ' + mid))