Improve logging on map/generic votes#1362
Improve logging on map/generic votes#1362Headline merged 4 commits intoalliedmodders:masterfrom PlayBoy31:Improve-logging-on-map/generic-votes
Conversation
Logging action is useful for servers’ owners with large number of admins. Actually, map votes and generic votes are not very verbose on what have been done. This request tries to improve the logging of those votes by adding maps names and question with answers in the log.
Logging action is useful for servers’ owners with large number of admins. Actually, map votes and generic votes are not very verbose on what have been done. This request tries to improve the logging of those votes by adding maps names and question with answers in the log.
|
Thank you for the PR! I've had donation for admin for well over a decade, however logging results from votes from clients hasn't been on the list. I'm really conflicted on this one, but I won't close this one out for a month+ until my peers have had a chance to review it as well. I simply can't see a case where I'd care what little Jimmy voted about what big Playboy31 started the vote about. I'd perhaps care about about what privileged commands Playboy31 is running (readas: the vote, and others), but then I'd add a CommandListener and see it all as part of the standard API. If visibility is what you're after I can try to help you, but for now I don't see this helping core SM. |
peace-maker
left a comment
There was a problem hiding this comment.
This doesn't add logging for every single client's answer on a vote, but enhances the log to include the actual topic of the vote. So instead of only logging "PlayBoy31 initiated a generic vote." it logs the question and the pool of answers to choose from as well like "PlayBoy31 initiated a generic vote (question: XXX, answers: YY ZZ)".
Thank you, looks good. One thing inline.
|
Ah! My bad, thanks for that. Not sure what I was thinking |
|
Thanks for the review all and for the approval |
Logging action is useful for servers’ owners with large number of admins. Actually, map votes and generic votes are not very verbose on what have been done. This request tries to improve the logging of those votes by adding maps names and question with answers in the log.