From f814617cb418b1557408bdd97eb265618a45b712 Mon Sep 17 00:00:00 2001 From: Roman Bazalevskiy Date: Sun, 16 Sep 2018 21:30:33 +0300 Subject: [PATCH 1/1] =?utf8?q?=D0=9D=D0=B5=D0=B7=D0=BD=D0=B0=D1=87=D0=B8?= =?utf8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=B8=D1=81=D0=BF?= =?utf8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20?= =?utf8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B5=20=D1=81?= =?utf8?q?=D1=82=D1=80=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mqtt-bt/scan-beacons | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1