X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/37883fdd57e2246043ee9f1f4c4c488104216cb5..5f3e53cb25944053ec1a02232c29b55662d30bcc:/mqtt-bt/scan-beacons diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 210bcfb..0e0b701 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -98,7 +98,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