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

Syntax error in EVENT.LOG - "[INFO ] [penhab.event.ItemStatePredictedEvent]" #2498

Closed
aususer opened this issue Sep 27, 2021 · 3 comments
Closed
Labels

Comments

@aususer
Copy link

aususer commented Sep 27, 2021

Hi y'all..
just a minor bug where "o" is missing from "openhab" in the event.log when an INFO is logged for "ItemStatePredictedEvent"

While not a functional problem (I only accidently happened to notice it while debugging some rules using grep on my 'tail -f /var/log/openhab/event.log|grep openhab.event' and found nothing was being found for the predictedevent).
anyway, thought I would post it up as I searched the buglogs and couldn't see anyone else noticed it.

Regards,
Mike (aususer@gmail.com)
Melbourne, Australia

note: [XYZ] is purely my code and not part of the problem - I editied for clarity.

2021-09-27 17:23:19.606 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item '[XYZ]' predicted to become OFF
2021-09-27 17:23:19.611 [INFO ] [openhab.event.ItemCommandEvent ] - Item '[XYZ]' received command OFF
2021-09-27 17:23:19.612 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item '[XYZ]' changed from ON to OFF
2021-09-27 17:23:19.614 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item '[XYZ]' predicted to become OFF
2021-09-27 17:23:19.616 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item '[XYZ]' changed from ON to OFF

@wborn
Copy link
Member

wborn commented Sep 29, 2021

It's because by default the logging is configured to limit the logger names to a certain number of characters. If you want to see everything or more you can reconfigure it. 😉

@wborn
Copy link
Member

wborn commented Oct 4, 2021

Let's close this since it is not a bug but a feature.

@wborn wborn closed this as completed Oct 4, 2021
@wborn wborn added the invalid label Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants