Add some more information to log output

This commit is contained in:
phl0 2016-09-02 21:14:53 +02:00
parent d903d46bd0
commit 93561eecd3
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class HBMASTER(DatagramProtocol):
for _client in self._clients:
if _client != _radio_id:
self.send_client(_client, _data)
logger.debug('(%s) Packet repeated to client: %s (%s)', self._master, self._clients[_client]['CALLSIGN'], int_id(_client))
logger.debug('(%s) Packet on TS%s from %s (%s) for destination ID %s repeated to client: %s (%s) [Stream ID: %s]', self._master, _slot, self._clients[_radio_id]['CALLSIGN'], int_id(_radio_id), int_id(_dst_id), self._clients[_client]['CALLSIGN'], int_id(_client), int_id(_stream_id))
# Userland actions -- typically this is the function you subclass for an application
self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _stream_id, _data)