X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/7eec805bc0dd0e4c880f05cd176b3670e4ad3579..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