diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-06-20 01:26:25 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-06-22 09:13:46 +0200 |
| commit | 74863b01d304beda59d7a7bc9cfa887683fedd95 (patch) | |
| tree | 09f4a8fd107249baec9a640a5ad1cd2d3dc0fadd /test/tcp | |
| parent | 60cd39a5a8ce4ea0f1b6ca33d1c99aa6a780e713 (diff) | |
| download | passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar.gz passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar.bz2 passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar.lz passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar.xz passt-74863b01d304beda59d7a7bc9cfa887683fedd95.tar.zst passt-74863b01d304beda59d7a7bc9cfa887683fedd95.zip | |
flow, treewide: Promote priority of selected flow-linked messages
Most of out flow specific log messages are debug level for fear of flooding
the logs, even when they report real error conditions that might be off
significance.
Now that we have the mechanisms for log message rate limiting, we can do
better. Promote many flow related messages to warning or error level, with
rate limiting. While we're there add ratelimiting to a handful of existing
warning or error level messages.
They general heuristic is to promote messages that report a failure which
is not something that should be triggered by the guest doing something
weird. This mostly means failures from socket operations we expect to be
legitimate.
Adding the ratelimiting means plumbing the 'now' timestamp through much
more of the code, hence the large churn.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp')
0 files changed, 0 insertions, 0 deletions
