Skip to content
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

jmDNS reports more output even when logging workaround used #49

Closed
JochenHiller opened this issue Nov 16, 2014 · 2 comments
Closed

jmDNS reports more output even when logging workaround used #49

JochenHiller opened this issue Nov 16, 2014 · 2 comments

Comments

@JochenHiller
Copy link

I am using openHAB2 when having an AppleTV running in my home network.

From to time I get excessive log output on console from jmDNS implementation.
This can be suppressed by two additional log configuration entries. The classes reporting the log output are in subpackages of javax.jmdns. It seems that setting to OFF will not be inherited to subpackages.

    <logger name="javax.jmdns.impl" level="OFF"/>
    <logger name="javax.jmdns.impl.constants" level="OFF"/>

I will add a PR to fix this.

@kaikreuzer
Copy link
Member

Thanks! Do you have any explanation, why this is needed? I always thought that defining a log level for a parent package automatically also takes the sub-packages into account...

@JochenHiller
Copy link
Author

Hmm: I think we have to reopen it. When running long time the openHAB2 runtime, the jmDNS logs will happen again.
BTW: the jmDNS Library used java.util.logging (JUL). So NOT inherited logger configuration is maybe related to JUL?

digitaldan pushed a commit to digitaldan/openhab-addons that referenced this issue Jun 29, 2017
…k-binding-thing-types

Need to call super.initalize() in handlers when overriding initialize method.
Flole998 pushed a commit to Flole998/openhab-addons that referenced this issue Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants