[op25-dev] Re: suggestion: logging output
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...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the op25-dev