kaitoy / pcap4j

A Java library for capturing, crafting, and sending packets.

Home Page:https://www.pcap4j.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent thread state prints

TomD011099 opened this issue · comments

When I'm running the examples, I get a lot of messages in my terminal about "thread states" (see below for some examples).
Is there a way to prevent these messages from being printed for a better overview of my own stuff?

"Service Thread" #5 daemon prio=9 os_prio=0 cpu=0,07ms elapsed=5,75s tid=0x00007f11140c5000 nid=0x3212 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #6 daemon prio=9 os_prio=0 cpu=99,61ms elapsed=5,75s tid=0x00007f11140c7000 nid=0x3214 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

If useful:

  • OS: Ubuntu 18.04 VM
  • IDE: Intellij
  • Pcap4j maven version: 1.8.2