-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
get error logs to the people who need to see them #2550
Comments
Maybe, but why not just those with "manage collection"? However, does this cover shared stuff like media, localities and taxonomy? Maybe those error logs should go to the respective committee? |
Suits me, and should be easy enough to fine-tune if necessary - using some sort of collection contact would be most of the dev work.
Excellent idea. I think that would just be adding some "fields" to global settings (and using them to sort). |
#1955 logs username in tables and should make this much more approachable. It's also addressed the "overwhelming" aspect of signing up for logs - rather than hundreds of emails per hour, Arctos is currently sending out one summary per hour. The schedule might change, but it should remain a much more manageable load. |
@mkoo suggests a subscription format - get the notifications that you really want. |
Can we somehow do this through agents (and related agents, er sumthin') rather than by adding some dedicated mail-this-to-them structure? Eg all taxonomy issues go to one agent (and their friends), all msb-access emails go to msb institutional agent, etc. |
@lin-fred this can be something for agent committee to work on - see above. |
Will be current relationships - group agents need transmogrified |
From Agenda Lower the email load - internal issue #116 |
Arctos Working Group Officers are set up, but the agent includes not only the group email but the individual officer emails - not sure if that will mean two emails for everyone in the list? |
There's now a function for this: https://github.com/ArctosDB/PG_DDL/blob/master/function/getRelatedAgentEmail.sql Note the comment:
I'm not crazy about that, but I don't know how to avoid it either. Demo (from production):
"Global" implementation would be pretty straightforward - add
and for "global taxonomy problems" just
Whoever's controlling those emails would be responsible for making sure they can receive. Suggest we add "send from everything before Assuming this all sounds reasonable, I'd just need a list of new keys to make that happen. It's probably worth moving the existing email lists to the agent model as well - those are
but I don't think they're used very consistently - maybe replace all of those with a default "general_problem_email_agent_id" or something?? Part Two: That doesn't address collection-specific email routing. I think we first need a new dedicated value in https://arctos.database.museum/info/ctDocumentation.cfm?table=ctcoll_contact_role - "log receiver" or something of the sort. I think I'd like to somehow allow agents like https://arctos.database.museum/agents.cfm?agent_id=21334678 for that, but that would require sending more email to not-users, which I'm never going to be crazy about. I think I DO NOT want to follow relationships for that - StudentA (probably) doesn't need to see StudentZ's logs, even if they work in the same collection. If StudentA does need to see collection logs for some reason, they can just be directly added as a collection contact of the appropriate type. From there, any error that involves an operator would go to Workable? |
@dustymc does the TURD cover this? |
Closing due to lack of response - I feel like this has now been covered by the TURD. |
That's completely unrelated. |
@dustymc what is it that we need to do here? How are notifications involved? I am convinced that sending emails is not going to change anything. I do think we could ask some committees to review logs at monthly meetings, but we cannot rely on ANYONE to respond immediately to any error log emails. I cannot help, because I am not clear on what is needed from the community. |
Probably nothing, it's just not floated to the top of my pile.
It's a mechanism to communicate with users (hopefully) without melting infrastructure.
Nobody's asking for that, this would just make it easier to see when someone in your collection is having problems. Is that not clear from the initial comment? |
Can we close this? |
Closed |
Is your feature request related to a problem? Please describe.
Errors are not sorted. Anyone can sign up to receive error logs (global settings), but then they'll get all logs, get overwhelmed, and not see relevant things.
Describe what you're trying to accomplish
I try to forward potentially problematic errors to appropriate users, but (1) certainly miss things, and (2) I send them things they don't need to see. I can't tell if someone's doing something dangerous, or someone who knows what they're doing has made a mistake - it all looks scary from here!
Describe the solution you'd like
Somehow filter logs to appropriate collection personnel. Maybe a new collection contact role?
Describe alternatives you've considered
Existing system
Additional context
This would make it much easier for "supervisors" (eg, collection managers) to see what their techs/students/etc. are doing. Hopefully this would lead to a better awareness of what's going on in the collection, but also to things like Arctos change requests ("we keep seeing that error because the form is weird") and new tutorials.
The text was updated successfully, but these errors were encountered: