How to disable the "clear log messages" functionality for administrators? For a production site, for auditing purposes, I would like to disable the "clear log messages" functionality for all administrators. This function is shown within admin/reports/dblog (within the "Recent log messages" report).

How to do this?
You would have to use hook_form_alter, and either remove that form or put access control on it. This needs to happen in a custom module.