#NEWLINE# def finished_processing( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# context = LoggingContext . current_context ( ) #NEWLINE# ( ru_utime , ru_stime ) = context . get_resource_usage ( ) #NEWLINE# db_txn_count = context . db_txn_count #NEWLINE# db_txn_duration = context . db_txn_duration #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# ( ru_utime , ru_stime ) = ( 0 , 0 ) #NEWLINE# ( db_txn_count , db_txn_duration ) = ( 0 , 0 ) #NEWLINE# #UNINDENT# self . site . access_logger . info ( '%s - %s - {%s} Processed request: %dms (%dms, %dms) (%dms/%d) %sB %s "%s %s %s" "%s"' , self . getClientIP ( ) , self . site . site_tag , self . authenticated_entity , ( int ( ( time . time ( ) * 1000 ) ) - self . start_time ) , int ( ( ru_utime * 1000 ) ) , int ( ( ru_stime * 1000 ) ) , int ( ( db_txn_duration * 1000 ) ) , int ( db_txn_count ) , self . sentLength , self . code , self . method , self . get_redacted_uri ( ) , ru_stime . clientproto , self . get_user_agent ( ) )