How to disable the "clear log messages" functionality for administrators?
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.