Lines Matching refs:logmsg

129   logmsg("Reset to defaults");  in resetdefaults()
149 logmsg("parse config file"); in getconfig()
156 logmsg("version [%d] set", config.version); in getconfig()
159 logmsg("PUBLISH-before-SUBACK set"); in getconfig()
163 logmsg("short-PUBLISH set"); in getconfig()
168 logmsg("error-CONNACK = %d", config.error_connack); in getconfig()
172 logmsg("testnum = %d", config.testnum); in getconfig()
179 logmsg("No config file '%s' to read", configfile); in getconfig()
199 logmsg("'%s'", data); in loghex()
245 logmsg("WROTE %d bytes [CONNACK]", rc); in connack()
269 logmsg("WROTE %d bytes [SUBACK]", rc); in suback()
291 logmsg("WROTE %d bytes [PUBACK]", rc); in puback()
296 logmsg("Failed sending [PUBACK]"); in puback()
309 logmsg("WROTE %d bytes [DISCONNECT]", rc); in disconnect()
314 logmsg("Failed sending [DISCONNECT]"); in disconnect()
356 logmsg("too large packet!"); in encode_length()
428 logmsg("WROTE %d bytes [PUBLISH]", rc); in publish()
454 logmsg("READ %d bytes [SHORT!]", rc); in fixedheader()
457 logmsg("READ %d bytes", rc); in fixedheader()
467 logmsg("Remaining Length broken"); in fixedheader()
472 logmsg("Remaining Length: %ld [%d bytes]", (long) *remaining_lengthp, in fixedheader()
504 logmsg("Found test number %ld", testno); in mqttit()
514 logmsg("READ %d bytes", rc); in mqttit()
524 logmsg("Protocol preamble mismatch"); in mqttit()
531 logmsg("Payload length mismatch, expected %x got %x", in mqttit()
536 logmsg("Too large client id"); in mqttit()
542 logmsg("MQTT client connect accepted: %s", client_id); in mqttit()
548 logmsg("failed sending CONNACK"); in mqttit()
559 logmsg("Incoming SUBSCRIBE"); in mqttit()
562 logmsg("Too small SUBSCRIBE"); in mqttit()
572 logmsg("Wrong topic length, got %d expected %d", in mqttit()
581 logmsg("SUBSCRIBE to '%s' [%d]", topic, packet_id); in mqttit()
587 logmsg("failed sending SUBACK"); in mqttit()
592 logmsg("PUBLISH failed"); in mqttit()
597 logmsg("failed sending SUBACK"); in mqttit()
611 logmsg("Incoming PUBLISH"); in mqttit()
616 logmsg("Got %d bytes topic", topiclen); in mqttit()
627 logmsg("READ %d bytes [DISCONNECT]", rc); in mqttit()
657 logmsg("signalled to die, exiting..."); in incoming()
664 logmsg("process becomes orphan, exiting"); in incoming()
686 logmsg("signalled to die, exiting..."); in incoming()
692 logmsg("select() failed with error: (%d) %s", in incoming()
701 logmsg("accept(%d, NULL, NULL) failed with error: (%d) %s", in incoming()
705 logmsg("====> Client connect, fd %d. Read config from %s", in incoming()
711 logmsg("====> Client disconnect"); in incoming()
740 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
746 logmsg("wait_ms() failed with error: %d", rc); in sockdaemon()
751 logmsg("signalled to die, exiting..."); in sockdaemon()
762 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
764 logmsg("Continuing anyway..."); in sockdaemon()
790 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
812 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
831 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
832 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
833 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
834 logmsg("reason, but double check it before anything else."); in sockdaemon()
844 logmsg("listen(%d, 5) failed with error: (%d) %s", in sockdaemon()
962 logmsg("Error creating socket: (%d) %s", in main()
976 logmsg("Running %s version", ipv_inuse); in main()
977 logmsg("Listening on port %hu", port); in main()
1007 logmsg("============> mqttd exits with signal (%d)", exit_signal); in main()
1016 logmsg("============> mqttd quits"); in main()