[op25-dev] Re: suggestion: logging output

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.

ikj1234i@yahoo.com [op25-dev] op25-dev at yahoogroups.com
Tue Jul 18 19:34:56 UTC 2017


This is virtually trivial.  At the tail end of the update_state() method in file trunking.py, add something like this
     if self.debug >= 5:
       if new_frequency or new_slot:
         sys.stderr.write('%f set freq to %s tgid %s ... \n' % (curr_time, new_frequency, self.current_tgid))

If you get something that's working well send it along and I'll merge it...

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170718/920321e2/attachment.htm>


More information about the op25-dev mailing list