trying to get some variables from my rules out to the logger by using logInfo(“loggerName”, “message”). But they are not showing up. Frontail is installed and I see generated infos from bindings at localhost:9001. Any ideas to look at and check?
message is not a variable - clear to not use " " for the variable.
As mentioned the rule is been processed, only the logging is not showing up in frontail… even not logInfo(“loggerName”, “message”) which should show in this case in the logger “message”.
rule "Lueftungssteuerung"
when
Item Luefterstufe changed
then
var Number Sollstufe = Luefterstufe.state
LWZ_Lueftung_StufeTag.sendCommand(Sollstufe)
Luefterstufe_RM.sendCommand(Sollstufe)
logInfo("TC2", Sollstufe.state)
end
2021-01-11 21:43:38.222 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tecalor-3’ failed: An error occurred during the script execution: Could not invoke method: org.openhab.core.model.script.actions.Log.logInfo(java.lang.String,java.lang.String,java.lang.Object) on instance: null in tecalor