[op25-dev] Re: suggestion: logging output

John Ackermann N8UR jra@febo.com [op25-dev] op25-dev at yahoogroups.com
Wed Jul 19 00:06:44 UTC 2017

Thanks!  I'll work on this and post a patch if I succeed.

On 07/18/2017 03:34 PM, ikj1234i at yahoo.com [op25-dev] wrote:
> 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/1c70665c/attachment.html>

More information about the op25-dev mailing list