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 %d bytes [CONNACK]", rc); in connack()
273 logmsg("WROTE %d bytes [SUBACK]", rc); in suback()
295 logmsg("WROTE %d bytes [PUBACK]", rc); in puback()
300 logmsg("Failed sending [PUBACK]"); in puback()
313 logmsg("WROTE %d bytes [DISCONNECT]", rc); in disconnect()
318 logmsg("Failed sending [DISCONNECT]"); in disconnect()
361 logmsg("too large packet!"); in encode_length()
442 logmsg("WROTE %d bytes [PUBLISH]", rc); in publish()
468 logmsg("READ %d bytes [SHORT!]", rc); in fixedheader()
471 logmsg("READ %d bytes", rc); in fixedheader()
481 logmsg("Remaining Length broken"); in fixedheader()
486 logmsg("Remaining Length: %ld [%d bytes]", (long) *remaining_lengthp, in fixedheader()
522 logmsg("Found test number %ld", testno); in mqttit()
526 logmsg("Out of memory, unable to allocate buffer"); in mqttit()
547 logmsg("Failed realloc of size %lu", buff_size); in mqttit()
556 logmsg("READ %d bytes", rc); in mqttit()
566 logmsg("Protocol preamble mismatch"); in mqttit()
579 logmsg("User flag is present in CONN flag"); in mqttit()
586 logmsg("Password flag is present in CONN flags"); in mqttit()
593 logmsg("Payload length mismatch, expected %x got %x", in mqttit()
599 logmsg("Too large client id"); in mqttit()
605 logmsg("MQTT client connect accepted: %s", client_id); in mqttit()
611 logmsg("failed sending CONNACK"); in mqttit()
621 logmsg("Incoming SUBSCRIBE"); in mqttit()
624 logmsg("Too small SUBSCRIBE"); in mqttit()
634 logmsg("Wrong topic length, got %d expected %d", in mqttit()
643 logmsg("SUBSCRIBE to '%s' [%d]", topic, packet_id); in mqttit()
649 logmsg("failed sending SUBACK"); in mqttit()
654 logmsg("PUBLISH failed"); in mqttit()
659 logmsg("failed sending SUBACK"); in mqttit()
673 logmsg("Incoming PUBLISH"); in mqttit()
678 logmsg("Got %d bytes topic", topiclen); in mqttit()
689 logmsg("READ %d bytes [DISCONNECT]", rc); in mqttit()
724 logmsg("signalled to die, exiting..."); in incoming()
731 logmsg("process becomes orphan, exiting"); in incoming()
753 logmsg("signalled to die, exiting..."); in incoming()
759 logmsg("select() failed with error: (%d) %s", in incoming()
768 logmsg("accept(%d, NULL, NULL) failed with error: (%d) %s", in incoming()
772 logmsg("====> Client connect, fd %d. Read config from %s", in incoming()
778 logmsg("====> Client disconnect"); in incoming()
807 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in sockdaemon()
813 logmsg("wait_ms() failed with error: %d", rc); in sockdaemon()
818 logmsg("signalled to die, exiting..."); in sockdaemon()
829 logmsg("setsockopt(SO_REUSEADDR) failed %d times in %d ms. Error: (%d) %s", in sockdaemon()
831 logmsg("Continuing anyway..."); in sockdaemon()
857 logmsg("Error binding socket on port %hu: (%d) %s", in sockdaemon()
879 logmsg("getsockname() failed with error: (%d) %s", in sockdaemon()
898 logmsg("Apparently getsockname() succeeded, with listener port zero."); in sockdaemon()
899 logmsg("A valid reason for this failure is a binary built without"); in sockdaemon()
900 logmsg("proper network library linkage. This might not be the only"); in sockdaemon()
901 logmsg("reason, but double check it before anything else."); in sockdaemon()
911 logmsg("listen(%d, 5) failed with error: (%d) %s", in sockdaemon()
1029 logmsg("Error creating socket: (%d) %s", in main()
1043 logmsg("Running %s version", ipv_inuse); in main()
1044 logmsg("Listening on port %hu", port); in main()
1074 logmsg("============> mqttd exits with signal (%d)", exit_signal); in main()
1083 logmsg("============> mqttd quits"); in main()