X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/fe0c9a90d38a6ca5a01707235cfbc8bbe951510e..8fe147a0d4dcef595bc76407cc7b62577de00f88:/mqtt-bt/scan-beacons diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 192539e..fcd3c20 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -65,7 +65,10 @@ end function printLog(str) if logging=="yes" then capture("logger -t beaconmon \""..str.."\"") - else + print(str) + elseif logging=="syslog" then + capture("logger -t beaconmon \""..str.."\"") + elseif logging=="stdout" then print(str) end end