- Issue created by @sime
- Merge request !3#3407142 "Prevent admins from truncating the watchdog table. → (Open) created by sime
- Status changed to Needs review
10 months ago 6:24am 13 February 2024 - 🇦🇺Australia thomwilhelm Sydney
Hey Sime! I can see your use case and can understand why it could make sense to work that way. I'll admit I hadn't really thought of this argument before.
However this would mean that you couldn't clear all log messages from the UI at all (without uninstalling this module) so I don't think I'd be in favour of that.
That being said, if there was a new configuration option "Prevent manual clearing of database logs" for example, that defaults to FALSE, I'd be happy to look at merging that as it wouldn't change existing sites, but would allow people to have this restriction should they wish.
- Status changed to Closed: works as designed
9 months ago 6:03am 2 April 2024 - 🇦🇺Australia sime Melbourne
Thanks for the reply! I'm going to close this with "works as designed" because to be honest that project I used it on they will not progress it, and the patch is fine.