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

[onewire] adjust loglevel #7935

Merged
merged 1 commit into from
Jul 12, 2020
Merged

Conversation

J-N-K
Copy link
Member

@J-N-K J-N-K commented Jun 17, 2020

Adjust log level to coding guidelines

Signed-off-by: Jan N. Klug [email protected]

Signed-off-by: Jan N. Klug <[email protected]>
@cpmeister
Copy link
Contributor

I'm kinda on the fence about this. On the one hand, bindings shouldn't be logging errors in general, but on the other hand an error might be appropriate here since it means something has gone wrong with how the core is bootstrapping the binding.

@TravisBuddy
Copy link

Travis tests were successful

Hey @J-N-K,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpmeister It does not matter too much as both logging levels will be visible to the user.
And as the message says that it "might" not work, a warning seems to be the better choice indeed.

@kaikreuzer kaikreuzer merged commit 4a8a7cf into openhab:2.5.x Jul 12, 2020
@J-N-K J-N-K deleted the fix-onewire-loglevel branch July 12, 2020 21:45
@cpmeister cpmeister added this to the 2.5.7 milestone Jul 13, 2020
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: CSchlipp <[email protected]>
MPH80 pushed a commit to MPH80/openhab-addons that referenced this pull request Aug 3, 2020
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: MPH80 <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
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

Successfully merging this pull request may close these issues.

4 participants