Lines Matching refs:logmsg
130 logmsg("Reset to defaults"); in resetdefaults()
151 logmsg("parse config file"); in getconfig()
158 logmsg("version [%d] set", config.version); in getconfig()
161 logmsg("PUBLISH-before-SUBACK set"); in getconfig()
165 logmsg("short-PUBLISH set"); in getconfig()
170 logmsg("error-CONNACK = %d", config.error_connack); in getconfig()
174 logmsg("testnum = %d", config.testnum); in getconfig()
177 logmsg("excessive-remaining set"); in getconfig()
185 logmsg("No config file '%s' to read", configfile); in getconfig()
205 logmsg("'%s'", data); in loghex()
249 logmsg("WROTE %zd bytes [CONNACK]", rc); in connack()
273 logmsg("WROTE %zd bytes [SUBACK]", rc); in suback()
295 logmsg("WROTE %zd bytes [PUBACK]", rc); in puback()
300 logmsg("Failed sending [PUBACK]"); in puback()
313 logmsg("WROTE %zd bytes [DISCONNECT]", rc); in disconnect()
318 logmsg("Failed sending [DISCONNECT]"); in disconnect()
361 logmsg("too large packet!"); in encode_length()
442 logmsg("WROTE %zd bytes [PUBLISH]", rc); in publish()
468 logmsg("READ %zd bytes [SHORT!]", rc); in fixedheader()
471 logmsg("READ %zd bytes", rc); in fixedheader()
481 logmsg("Remaining Length broken"); in fixedheader()
486 logmsg("Remaining Length: %zu [%zu bytes]", *remaining_lengthp, in fixedheader()
524 logmsg("Found test number %ld", testno); in mqttit()
528 logmsg("Out of memory, unable to allocate buffer"); in mqttit()
549 logmsg("Failed realloc of size %zu", buff_size); in mqttit()
558 logmsg("READ %zd bytes", rc); in mqttit()
568 logmsg("Protocol preamble mismatch"); in mqttit()
581 logmsg("User flag is present in CONN flag"); in mqttit()
589 logmsg("Password flag is present in CONN flags"); in mqttit()
597 logmsg("Payload length mismatch, expected %zx got %zx", in mqttit()
603 logmsg("Too large client id"); in mqttit()
609 logmsg("MQTT client connect accepted: %s", client_id); in mqttit()
615 logmsg("failed sending CONNACK"); in mqttit()
625 logmsg("Incoming SUBSCRIBE"); in mqttit()
628 logmsg("Too small SUBSCRIBE"); in mqttit()
638 logmsg("Wrong topic length, got %zu expected %zu", in mqttit()
647 logmsg("SUBSCRIBE to '%s' [%d]", topic, packet_id); in mqttit()
653 logmsg("failed sending SUBACK"); in mqttit()
658 logmsg("PUBLISH failed"); in mqttit()
663 logmsg("failed sending SUBACK"); in mqttit()
677 logmsg("Incoming PUBLISH"); in mqttit()
682 logmsg("Got %zu bytes topic", topiclen); in mqttit()
693 logmsg("READ %zd bytes [DISCONNECT]", rc); in mqttit()
728 logmsg("signalled to die, exiting..."); in incoming()
735 logmsg("process becomes orphan, exiting"); in incoming()
757 logmsg("signalled to die, exiting..."); in incoming()
763 logmsg("select() failed with error: (%d) %s", in incoming()
772 logmsg("accept(%" CURL_FORMAT_SOCKET_T ", NULL, NULL) " in incoming()
776 logmsg("====> Client connect, fd %" CURL_FORMAT_SOCKET_T ". " in incoming()
782 logmsg("====> Client disconnect"); in incoming()
811 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
817 logmsg("wait_ms() failed with error: %d", rc); in sockdaemon()
822 logmsg("signalled to die, exiting..."); in sockdaemon()
833 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
835 logmsg("Continuing anyway..."); in sockdaemon()
861 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
883 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
902 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
903 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
904 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
905 logmsg("reason, but double check it before anything else."); in sockdaemon()
915 logmsg("listen(%" CURL_FORMAT_SOCKET_T ", 5) failed with error: (%d) %s", in sockdaemon()
1043 logmsg("Error creating socket: (%d) %s", error, sstrerror(error)); in main()
1056 logmsg("Running %s version", ipv_inuse); in main()
1057 logmsg("Listening on port %hu", port); in main()
1089 logmsg("============> mqttd exits with signal (%d)", exit_signal); in main()
1098 logmsg("============> mqttd quits"); in main()