Amazon Dash Button: Warnings on boot

Mainly directed at @oliver but wanted to post here to see if it wasn’t just me that was getting these warnings:

At every launch of openHAB with the amazondash binding installed, I receive the following warnings:

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

Since the binding works as expected I assume this is an issue with the library that does not concern the binding? If so, is there a way of setting these properties or suppressing the warnings without having to change openHAB’s logging properties?

I created a Pcap4J issue: https://github.com/kaitoy/pcap4j/issues/75

1 Like

No, same here.

Looks like we have an answer :wink: Thank you! Would you be able to add those changes?

I don’t think that it’s helpful to hardcode this in the binding.

After Pcap4J had changed the log level, I will update to the new version. For the time being I suggest to adjust the log level.