From 7f9cb1305773d1599dd919d20154bb2e0befae40 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 20 Aug 2015 17:50:36 +0200 Subject: [PATCH] platform: downgrade the warning about cache-sync to info level It can happen on a regular basis when many events get raised. It is probalby not avoidable and most likely not an issue, so downgrade the warning to info level. --- src/platform/nm-linux-platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 7da66808ef..0c5d725203 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -91,6 +91,7 @@ } G_STMT_END #define debug(...) _LOG (LOGL_DEBUG, _NMLOG_DOMAIN, NULL, __VA_ARGS__) +#define info(...) _LOG (LOGL_INFO, _NMLOG_DOMAIN, NULL, __VA_ARGS__) #define warning(...) _LOG (LOGL_WARN , _NMLOG_DOMAIN, NULL, __VA_ARGS__) #define error(...) _LOG (LOGL_ERR , _NMLOG_DOMAIN, NULL, __VA_ARGS__) @@ -4547,7 +4548,7 @@ event_handler_read_netlink_one (NMPlatform *platform) debug ("Uncritical failure to retrieve incoming events: %s (%d)", nl_geterror (nle), nle); break; case -NLE_NOMEM: - warning ("Too many netlink events. Need to resynchronize platform cache"); + info ("Too many netlink events. Need to resynchronize platform cache"); /* Drain the event queue, we've lost events and are out of sync anyway and we'd * like to free up some space. We'll read in the status synchronously. */ _nl_sock_flush_data (priv->nlh_event);