openHAB 3.4.0M3 running on a Raspi4 (openhabian)
While investigating a persistence problem I noticed that none of my logInfo lines are logged ( at least not onto the events.log and openhab.log which I do monitor).
The rules itself are obviously working (motion detected swichtes on the radio…).
I tried it with ECMA scripts.
A system reboot did not change the situation.
What should I look for to find the cause.
Example of a working rule with logInfo lines that do not show:
var logger = Java.type('org.slf4j.LoggerFactory').getLogger('org.openhab.rule.' + ctx.ruleUID);
logger.info('PreviousState: {}', event.oldItemState);
if (event.oldItemState==OFF) { //Bad Bewegung
if (items['BadMusik']==OFF){
logger.info("BadMusik geht an!");
events.sendCommand('TinasEchoDot_Befehl','Musik an'); //Befehl wird von Alexa-Routine ausgeführt!!
} else {
logger.info('BadMusik ist schon an!')
}
}
// Sobald Bad Bewegung sich ändert wird die ExpireTime des ProxyItems gestartet.
logger.info('BadMusik Timer updated!');
events.postUpdate('BadMusik', 'ON');
.