#NEWLINE# def __init__( self , app , config ) : #NEWLINE# #INDENT# self . app = app #NEWLINE# self . log_all_requests = asbool ( config . get ( 'logging.log_all_requests' ) ) #NEWLINE# self . log_pattern = asbool ( config . get ( 'logging.log_pattern' ) ) #NEWLINE# self . log_pattern_re = config . get ( 'logging.log_pattern_re' ) #NEWLINE# self . log_request_headers = asbool ( config . get ( 'logging.log_request_headers' ) ) #NEWLINE# self . log_response_name = asbool ( config . get ( 'logging.log_response_name' ) ) #NEWLINE# self . log_response_headers = asbool ( config . get ( 'logging.log_response_headers' ) ) #NEWLINE# self . remove_letters_re = re . compile ( '[^\\d]' )