-
Notifications
You must be signed in to change notification settings - Fork 38
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
[DX] Provide UI to define watchdog severity levels #3326
Comments
Related issue #3325 |
Please help me with wording here (https://github.com/backdrop/backdrop/pull/2328/files)
|
PR looks really good @opi 👍 ...just a missing period in the help text + a minor suggestion to add the word "Which" at the beginning. Very useful! |
Just noting:
...and after (ticking the "Debug" and "Deprecated" checkboxes and saving):
...should be:
|
...so after further testing on my local and on the PR sandbox, I am moving this to NW because when saving the form, no mater what selection of checkboxes you've made, the "Emergency" severity gets unchecked. |
...possibly related #3327 ?? |
PR updated, with new wording (thanks!) and a fix for saved values. |
The UI to manage |
...I still think that this deserves to be in core Configuration >> Development >> Logging and errors. |
Thanks for addressing the config save issue @opi 👍 RTBC! |
edited: I've recommended a minor UX improvement on the PR, and a minor variable name update. |
code looks great! testing now... |
|
|
Works like a charm, RTBC! |
@jenlampton (and others) I just noticed that the respective setting in Devel has the following description:
Do you think that the second bit could be useful here? ...it would match the "It is recommended that sites running on production environments do not display any errors." help text for the types of errors. Let me know, and I'll quickly update the PR. PS: also making a note to self to file a PR that removes this setting from Devel, if system.module >= 1.14.2 |
...as per discussion on Gitter, I've updated the PR, to add the following help text:
Leaving the status as RTBC, since @quicksketch will have a final look anyway 😅 |
Seems all good. Thanks everyone for finishing that |
I wasn't entirely certain about this change initially. Though if others feel it should be available then it's fine with me. I think that since we added the "Deprecated" option and started using it all over the place, this setting is a lot more likely to be used than before. I've merged backdrop/backdrop#3001 into 1.x for 1.15.0. With it right around the corner I'm not going to cherry-pick this back into 1.14.x. |
When reviewing #3279, I need to manually edit the
system.core.json
config file to update thewatchdog_enabled_severity_levels
setting.This should be possible from the web interface. Following PR provides a basic checkboxes form with watchdog severity levels.
PR by @opi backdrop/backdrop#2328PR by @klonos (based on @opi's): backdrop/backdrop#3001
The text was updated successfully, but these errors were encountered: