projects
/
openhab-process.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
37883fd
)
Merge branch 'master' of rvb.name:openhab-process
author
Roman Bazalevsky
<rvb@rvb.name>
Fri, 26 Oct 2018 08:50:24 +0000
(11:50 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Fri, 26 Oct 2018 08:50:24 +0000
(11:50 +0300)
mqtt-bt/scan-beacons
patch
|
blob
|
history
diff --git
a/mqtt-bt/scan-beacons
b/mqtt-bt/scan-beacons
index 210bcfbbf1c714cf37e8e4e69a10d1571d685696..0e0b701d483eab414041eafed53ad07d5bb2fec9 100644
(file)
--- 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