Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2021 13:26:04 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9d0bc96ef8c0 - main - pf tests: Only log critical errors from scapy
Message-ID:  <202105261326.14QDQ4iV075508@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9d0bc96ef8c0288c05a627b3961edd2da046c5c9

commit 9d0bc96ef8c0288c05a627b3961edd2da046c5c9
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-05-26 11:07:50 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-05-26 11:18:47 +0000

    pf tests: Only log critical errors from scapy
    
    See a26e895f3d803cc1f4ee1c2b33c61330998808b9. Silence these new tests as
    well.
    
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netpfil/pf/fragcommon.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/netpfil/pf/fragcommon.py b/tests/sys/netpfil/pf/fragcommon.py
index 2bcd3989b420..1ca3129e6057 100644
--- a/tests/sys/netpfil/pf/fragcommon.py
+++ b/tests/sys/netpfil/pf/fragcommon.py
@@ -27,6 +27,8 @@
 
 import argparse
 import os
+import logging
+logging.getLogger("scapy").setLevel(logging.CRITICAL)
 import scapy.all as sp
 import sys
 import time



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105261326.14QDQ4iV075508>