X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/33e4de673cfc18d5dbb46d56f5b7453329cf7e89..f814617cb418b1557408bdd97eb265618a45b712:/mqtt-bt/scan-beacons?ds=sidebyside diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 17e5533..fd50f9d 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -64,7 +64,7 @@ end function printLog(str) if logging=="yes" then - capture("logger -t beaconmon "..str) + capture("logger -t beaconmon \""..str.."\"") else print(str) end @@ -101,7 +101,7 @@ end function mqtt_pub(path,value) res=mqtt_client:publish(path,value) - printLog("Pub "..path.." "..value.." returned "..res); + printLog("Pub "..path.." returned "..res); return res end