I’m using JS automation for creating UI based rules in OH 3.4. I tried to use the debug function as described here:
but I am not able do enable DEBUG logging for my rule. The name of my rule is chargecontrolelectricvehicle and this is my code:
var logger = log('org.openhab.rule.' + ctx.ruleUID);
logger.info("Script Ladesteuerung is starting INFO");
logger.debug("Script Ladesteuerung is starting DEBUG");
In karaf konsole I tried to activate debug logging with log:set DEBUG org.openhab.rule.chargecontrolelectricvehicle, but only the logger.info message is printed in openhab.log. Is anyone able to tell me what I am doing wrong?