Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Debug message for packet transmission from paho client c

There are environment variables:

MQTT_C_CLIENT_TRACE=ON, or a filename (ON goes to stdout)

MQTT_C_CLIENT_TRACE_LEVEL=PROTOCOL (other options include ERROR, MINIMUM)

MQTT_CLIENT_TRACE_MAX_LINES=1000 (the max no of lines in a trace file)

On 09/04/17 09:26, kus wrote:
Hii,
Is there any debug flag or any config client in paho c client which i can enable in order to see whether the packet details which are transmitted and would also show any message for those packets which cannot be sent somehow to the broker and log it in a file .
Thanks
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

--
Ian Craggs
icraggs@xxxxxxxxxx
Eclipse Paho Project Lead; Committer on Eclipse Mosquitto
Tech Lead in IBM Watson IoT Platform



Back to the top