I’ve got a few rules which run a python script, and I now noticed that sometimes something goes wrong. In critical.log, I found these entries:
{
"timestamp": "2026-02-03T09:56:55.224",
"level": "WARN",
"message": "Failed to execute commandLine '[python, bin/python/millie/tractive.py]'",
"threadName": "OH-rule-niet-thuis-1",
"threadId": 1138,
"loggerName": "org.openhab.core.io.net.exec.ExecUtil",
"loggerFQCN": "org.ops4j.pax.logging.slf4j.Slf4jLogger",
"bundle.id": "183",
"bundle.name": "org.openhab.core.io.net",
"bundle.version": "5.1.1"
},
{
"timestamp": "2026-02-03T09:56:55.238",
"level": "WARN",
"message": "Failed to execute commandLine '[/var/lib/openhab/bin/python/tado-manual-control/venv/bin/python, /var/lib/openhab/bin/python/tado-manual-control/tado-manual-control.py, set_home_state, -s, False]'",
"threadName": "OH-rule-tado-API-1",
"threadId": 1137,
"loggerName": "org.openhab.core.io.net.exec.ExecUtil",
"loggerFQCN": "org.ops4j.pax.logging.slf4j.Slf4jLogger",
"bundle.id": "183",
"bundle.name": "org.openhab.core.io.net",
"bundle.version": "5.1.1"
},
[...]
{
"timestamp": "2026-02-03T10:46:09.076",
"level": "WARN",
"message": "Failed to execute commandLine '[/var/lib/openhab/bin/python/tado-manual-control/venv/bin/python, /var/lib/openhab/bin/python/tado-manual-control/tado-manual-control.py, set_home_state, -s, True]'",
"threadName": "OH-rule-tado-API-1",
"threadId": 1137,
"loggerName": "org.openhab.core.io.net.exec.ExecUtil",
"loggerFQCN": "org.ops4j.pax.logging.slf4j.Slf4jLogger",
"bundle.id": "183",
"bundle.name": "org.openhab.core.io.net",
"bundle.version": "5.1.1"
},
[...]
{
"timestamp": "2026-02-03T21:59:36.344",
"level": "WARN",
"message": "Failed to execute commandLine '[/var/lib/openhab/bin/python/tado-manual-control/venv/bin/python, /var/lib/openhab/bin/python/tado-manual-control/tado-manual-control.py, back_to_schedule, -z, 5]'",
"threadName": "OH-rule-tado-API-1",
"threadId": 1137,
"loggerName": "org.openhab.core.io.net.exec.ExecUtil",
"loggerFQCN": "org.ops4j.pax.logging.slf4j.Slf4jLogger",
"bundle.id": "183",
"bundle.name": "org.openhab.core.io.net",
"bundle.version": "5.1.1"
},
{
"timestamp": "2026-02-03T22:00:21.357",
"level": "WARN",
"message": "Failed to execute commandLine '[/var/lib/openhab/bin/python/tado-manual-control/venv/bin/python, /var/lib/openhab/bin/python/tado-manual-control/tado-manual-control.py, back_to_schedule, -z, 5]'",
"threadName": "OH-scheduler-22923",
"threadId": 582844,
"loggerName": "org.openhab.core.io.net.exec.ExecUtil",
"loggerFQCN": "org.ops4j.pax.logging.slf4j.Slf4jLogger",
"bundle.id": "183",
"bundle.name": "org.openhab.core.io.net",
"bundle.version": "5.1.1"
}
I now assume this problem has been around for a long time, but I recently added scripts that control my heating, which makes it easier to spot this problem.
Does anyone have any idea what might be going wrong, or how I could increase logging, so more clues reveal themselves?