UX: /admin/logs pages are not easy to use
Description
I was trying to track down an issue with missing emails from our githost.io instance, and I've found that the log viewing screens at /admin/logs are really quite tricky to use.
Proposal
It'd suggest the following might be ways to make the page easier to use:
-
An easy way to get hold of all the viewable log entries; either a 'copy to clipboard' button, or a 'download to file' button.
-
It would be useful to be able to see older log entries somehow, currently I can only investigate issues if I do so within about an hour, after that I can't access the older log entries. A download button that grabs the whole file (and if the logs are cycled, perhaps the previous file too.)
-
production.log doesn't have timestamp prefixes on the line (it has date suffixes, but only on lines at the start of a HTTP request), which makes it harder to find the relevant entries
-
The use of a scrolling area within a page that is also scrollable makes it hard to scroll the area that actually has the log lines. Often when I try and scroll a long way the log lines scroll for a little bit, then they stop scrolling and the main window scrolls instead. One way to avoid this would be to avoid the inner scroll area - simply make the page as tall as is necessary to accommodate all the log messages. (Seen in up to date Safari on OS X El Capitan, scrolling using tracking two finger dragging/flicking. It seems to happen most often when trying to scroll up from the very bottom of the logs.)
-
As an enhancement, an option to filter the logs, showing only lines that match particular strings would be nice, but not really essential if 1 & 2 were implemented.