X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fpoll-loop.c;h=9855306834cf47744d52ec2d8cc87abb59b1d4eb;hb=add037c6b692db9c66dd0c16dff2d4b1b46c7499;hp=fca1dfa46c0410cbdbd762644fa41ce3b48f1293;hpb=d1673b006d53fdea72c0744e835362ed1917f879;p=sliver-openvswitch.git diff --git a/lib/poll-loop.c b/lib/poll-loop.c index fca1dfa46..985530683 100644 --- a/lib/poll-loop.c +++ b/lib/poll-loop.c @@ -165,8 +165,8 @@ log_wakeup(const char *where, const struct pollfd *pollfd, int timeout) cpu_usage = get_cpu_usage(); if (VLOG_IS_DBG_ENABLED()) { level = VLL_DBG; - } else if (cpu_usage > 50 && !VLOG_DROP_WARN(&rl)) { - level = VLL_WARN; + } else if (cpu_usage > 50 && !VLOG_DROP_INFO(&rl)) { + level = VLL_INFO; } else { return; }