adding additional key/value pairs onto the servlet logline . if nothing is needed to add , just simply return an empty enrichments object . concode_field_sep String applicationVersion concode_elem_sep GitInfo gitInfo concode_elem_sep int LOGGING_RESPONSE_BODY_LENGTH concode_elem_sep LoggingFilter loggingFilter concode_elem_sep int LOGGING_REQUEST_BODY_LENGTH concode_field_sep Enrichments loggingFilterConfig
Enrichments function ( ) { Enrichments loc0 = new Enrichments ( ) ; if ( gitInfo != null ) { loc0 . add ( "srini_string" , gitInfo . getCommitId ( ) ) ; loc0 . add ( "srini_string" , gitInfo . getRemoteOriginUrl ( ) ) ; } loc0 . add ( "srini_string" , applicationVersion ) ; return loc0 ; }