platform: downgrade logging level for "event-notification" messages

We get a lot of these debugging message, although the event is entirely
internal to NMLinuxPlatform and only interesting when debugging a problem
in platform itself.

Downgrade to TRACE level.

(cherry picked from commit 9f1eb190f7)
This commit is contained in:
Thomas Haller 2015-10-09 15:38:09 +02:00
parent 946c8e2152
commit b15204d991

View file

@ -2398,13 +2398,13 @@ event_notification (struct nl_msg *msg, gpointer user_data)
/* The event notifies about a deleted object. We don't need to initialize all the
* fields of the nmp-object. Shortcut nmp_object_from_nl(). */
obj = nmp_object_from_nl (platform, nlo, TRUE, TRUE);
_LOGD ("event-notification: %s, seq %u: %s",
_LOGt ("event-notification: %s, seq %u: %s",
_nl_nlmsg_type_to_str (msghdr->nlmsg_type, buf_nlmsg_type, sizeof (buf_nlmsg_type)),
msghdr->nlmsg_seq, nmp_object_to_string (obj, NMP_OBJECT_TO_STRING_ID, NULL, 0));
break;
default:
obj = nmp_object_from_nl (platform, nlo, FALSE, TRUE);
_LOGD ("event-notification: %s, seq %u: %s",
_LOGt ("event-notification: %s, seq %u: %s",
_nl_nlmsg_type_to_str (msghdr->nlmsg_type, buf_nlmsg_type, sizeof (buf_nlmsg_type)),
msghdr->nlmsg_seq, nmp_object_to_string (obj, NMP_OBJECT_TO_STRING_PUBLIC, NULL, 0));
break;