mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 03:40:38 +01:00
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.
(cherry picked from commit 7f9cb13057)
This commit is contained in:
parent
3d8becc23a
commit
068b525be3
1 changed files with 2 additions and 1 deletions
|
|
@ -92,6 +92,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__)
|
||||
|
||||
|
|
@ -4549,7 +4550,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue