• 
      

    Allow for logging page access times.

    Review Request #2644 — Created Oct. 6, 2011 and submitted

    Information

    Djblets
    release-0.6.x

    Reviewers

    Allow for logging page access times.
    
    LoggingMiddleware can now log the page access times. This is an opt-in
    feature. Each log entry will show the path and user. We'll log both at
    the beginning of the request and after generating the response, which
    will help catch page requests that result in deadlocks.
    Tested locally with LOGGING_PAGE_TIMES set to True and to False.
    david
    1. 
        
    2. djblets/log/middleware.py (Diff revision 1)
       
       
       
      Maybe format this "%s %s (by %s)" % (request.method, request.path, request.user) ?
    3. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed