-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved Talkgroup Priority Logging #700
Improved Talkgroup Priority Logging #700
Conversation
No overlap uuv
Revert "No overlap uuv"
Thank you. Can I continue using 255, or do recommend the -1 from now on? |
This shouldn't change the behavior, it just changes how log messages are displayed. In your example, if you used 255 you would see an error similar to this:
If you changed the talkgroup to -1, it would now print out an informational level message similar to this:
The intent is to clearly differentiate in the logs between when a talkgroup is being ignored on purpose (priority -1) and when there is a lack of recorders available. |
Ahh, thank you both... I like! |
@robotastic I know you're a busy guy, but I'm just curious if there's something that concerns you with the change of behavior here, or if there's anything you want me to change to get it committed? I think this would be a great help for those of us who are really only monitoring error level messages. |
Sorry!! This slipped by me. This looks like a good change to me. I had been recommending just to use a high number, but you are correct that it is better to differentiate between the 2 different cases. thanks for adding this! |
This adds the ability to assign a talkgroup a priority of -1 to ensure that it is never recorded. This also cleans up the log messages for talkgroup priority based actions to differentiate between when a talkgroup is purposely not recorded (informational) and a talkgroup is not recorded due to a lack or recorders (error).