Change log level fron info to debug.
Signed-off-by: gichan <gichan2.jang@samsung.com>
struct mosquitto *handle;
int ver = MQTT_PROTOCOL_V311; /** @todo check mqtt version (TizenRT repo) */
- nns_edge_logi ("Trying to connect MQTT (ID:%s, URL:%s:%d).", id, host, port);
+ nns_edge_logd ("Trying to connect MQTT (ID:%s, URL:%s:%d).", id, host, port);
bh = (nns_edge_broker_s *) calloc (1, sizeof (nns_edge_broker_s));
if (!bh) {
handle = bh->mqtt_h;
if (handle) {
- nns_edge_logi ("Trying to disconnect MQTT (ID:%s, URL:%s:%d).",
+ nns_edge_logd ("Trying to disconnect MQTT (ID:%s, URL:%s:%d).",
bh->id, bh->host, bh->port);
/* Clear retained message */
return NNS_EDGE_ERROR_INVALID_PARAMETER;
}
- nns_edge_logi ("Trying to connect MQTT (ID:%s, URL:%s:%d).", id, host, port);
+ nns_edge_logd ("Trying to connect MQTT (ID:%s, URL:%s:%d).", id, host, port);
bh = (nns_edge_broker_s *) calloc (1, sizeof (nns_edge_broker_s));
if (!bh) {
handle = bh->mqtt_h;
if (handle) {
- nns_edge_logi ("Trying to disconnect MQTT (ID:%s, URL:%s:%d).",
+ nns_edge_logd ("Trying to disconnect MQTT (ID:%s, URL:%s:%d).",
bh->id, bh->host, bh->port);
options.context = bh;
if (bind (sock, (struct sockaddr *) &sin, sizeof (struct sockaddr)) == 0) {
if (getsockname (sock, (struct sockaddr *) &sin, &len) == 0) {
port = ntohs (sin.sin_port);
- nns_edge_logi ("Available port number: %d", port);
+ nns_edge_logd ("Available port number: %d", port);
} else {
nns_edge_logw ("Failed to read local socket info.");
}