From: Roman Bazalevsky Date: Fri, 26 Oct 2018 08:50:24 +0000 (+0300) Subject: Merge branch 'master' of rvb.name:openhab-process X-Git-Url: https://git.rvb.name/openhab-process.git/commitdiff_plain/5f3e53cb25944053ec1a02232c29b55662d30bcc?hp=37883fdd57e2246043ee9f1f4c4c488104216cb5 Merge branch 'master' of rvb.name:openhab-process --- 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