-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning on startup #75
Comments
Set the following system properties before starting a packet capture.
I will change the logs from WARN to INFO in the next version. |
Could this be set automatically in a static block in org.pcap4j.core.Pcaps maybe? |
I think |
Merged #78 |
Hi Kaitoy Oct 16, 2018 4:48:05 PM org.pcap4j.util.PropertiesLoader getBoolean Please help me. Thanks |
Pcap 4J's logs should be transferred to your logging library (e.g. logback) via SLF4J. Please refer to the logging library's document for information about controlling logs. |
Pcap4J reports warnings while starting:
2016-11-13 08:51:34.636 [WARN ] [org.pcap4j.util.PropertiesLoader ] - [org/pcap4j/pcap4j.properties] Could not get value by org.pcap4j.af.inet, use default value: null 2016-11-13 08:51:34.640 [WARN ] [org.pcap4j.util.PropertiesLoader ] - [org/pcap4j/pcap4j.properties] Could not get value by org.pcap4j.af.inet6, use default value: null 2016-11-13 08:51:34.640 [WARN ] [org.pcap4j.util.PropertiesLoader ] - [org/pcap4j/pcap4j.properties] Could not get value by org.pcap4j.af.packet, use default value: null 2016-11-13 08:51:34.641 [WARN ] [org.pcap4j.util.PropertiesLoader ] - [org/pcap4j/pcap4j.properties] Could not get value by org.pcap4j.af.link, use default value: null 2016-11-13 08:51:34.790 [WARN ] [org.pcap4j.util.PropertiesLoader ] - [org/pcap4j/pcap4j.properties] Could not get value by org.pcap4j.dlt.raw, use default value: null
How can I get rid of these warnings without changing the log level?
The text was updated successfully, but these errors were encountered: