Add a Server Log view for viewing/filtering the log in the admin UI.

Review Request #1026 — Created Sept. 6, 2009 and submitted

Information

Djblets
master

Reviewers

Add a Server Log view for viewing/filtering the log in the admin UI.

This change introduces a view intended for the admin UI that displays
a log file generated by the Python logging code (using the default line
format in in djblets.log.DEFAULT_LINE_FORMAT) and allows for filtering
by log level and date. It also allows for sorting by date, to see the oldest
or most recent items at the top.
Tested each filter and sorting method in combination with the others.

Tested with logs containing a variety of log levels, and tested with multi-line log entries.

Screenshots

chipx86
david
  1. 
      
  2. djblets/log/views.py (Diff revision 2)
     
     
    if not timestamp_str:
  3. djblets/log/views.py (Diff revision 2)
     
     
    Should you catch exceptions here?
  4. 
      
chipx86
Review request changed
Change Summary:
* Made all changes requested by David.
david
  1. 
      
  2.