Is there a way to log rules execution ? What I want to achieve is to see the times of execution of every rules I have defined. And I don’t want to put prints in every rule
I tried to set DEBUG level for the org.openhab.model.script.rules but it didn’t helped.
You Fcan put logInfo Statements into your rule which the print in the logs.
Yes, I know that. And I wrote that I do not want to do that. I have a lot of rules, and do not want spend time doing that. And Also I need to be able to disable this logging easly to.
Sorry, missed that Point.
However, if you don’t have the time to put such a standard statement into your rules you most likely don’t have the time to look into the logs (IMHO).
If you need a definite confirmation the logInfo would be the way. On the other hand, don’t you notice when a rule does not run by other indications? I used the logInfos only in the beginning and turned them off when I saw thst the rules were running as expected.
Put a key word in the logging and then filter out that key word when needed: