mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 23:45:17 -05:00
Update Readme.md
This commit is contained in:
parent
7011d785b4
commit
3868ae39ba
@ -13,7 +13,7 @@ Modifikation/Extension of hbmonitor – we log if a call is ended (I think it
|
||||
# log only to file if system is NOT OpenBridge event (not logging open bridge system, name depends on your OB definitions) AND transmit time is LONGER as 2sec (make sense for very short transmits)
|
||||
if int(float(p[9])) > 2:
|
||||
log_lh_message = '{},{},{},{},{},{},{},TS{},TG{},{},{}'.format(_now, p[9], p[0], p[1], p[3], p[5], alias_call(int(p[5]), peer_ids), p[7], p[8], p[6], alias_short(int(p[6]), subscriber_ids))
|
||||
lh_logfile = open('/var/www/vhosts/dmr.bzsax.de/public_html/lastheard.log', "a")
|
||||
lh_logfile = open('/var/www/html/lastheard.log', "a")
|
||||
lh_logfile.write(log_lh_message + '\n')
|
||||
lh_logfile.close()
|
||||
elif p[1] == 'START':
|
||||
|
Loading…
Reference in New Issue
Block a user