-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
log not working consistently in UI rules #16
Comments
Never mind, needed to add
to log4j2.xml. However, most users should not have to do this so I'd recommend that a namespace already logged out by OH (e.g. I can't explain why my first rule worked. There must be a regex or something somewhere on "alarm". |
Yeah, i have in the list of TODO's on openhab/openhab-addons#11656 to add something to openhab-core default xml log config like |
FYI I originally chose that shorter namespace for scripts because it seemed simpler and also allowed some level of disambiguation from logs coming from openHAB code, making it much easier to immediately see your logs rather than others. The assumption was that they would be |
I have one rule with a script action:
Works like a champ. But one thing that is unique about this rule is that it's run from another rule or run manually.
In this script action, however, the logger does nothing.
I get the logs from my_logger but not logger (or console.log but I already know that's not yet implemented). This action is in a rule that is triggered from an Item event. It took me forever to understand that was why I wasn't seeing anything in the logs.
But log also isn't working from my scrathpad rule either.
The text was updated successfully, but these errors were encountered: