8 – How can I change the date format of recent log messages?


Ok, using @leymannx’s shock that I could access views and yet the watchdog view wasn’t there, I did a grep of watchdog and found the following entry in /core/modules/dblog/dblog.post_update.php:

/** Replace 'Recent log messages' with a view.*/
function dblog_post_update_convert_recent_messages_to_view() {
  // Only create if the views module is enabled and the watchdog view doesn't
  // exist.

This lead me to assume that when the module was enabled/added, my views module WASN’T enabled and so no view created for watchdog. I uninstalled dblog, checked again that Views was enabled, and re-enabled dblog. The watchdog view was created!

Thanks.