int function ( Settings arg0 ) { String loc0 = arg0 . get ( INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG , "srini_string" ) ; try { return Integer . parseInt ( loc0 , 10 ) ; } catch ( NumberFormatException loc1 ) { return Booleans . parseBoolean ( loc0 , true ) ? Integer . MAX_VALUE : 0 ; } }
reads how much of the source to log . the user can specify any value they like and numbers are interpreted the maximum number of characters to log and everything else is interpreted as elasticsearch interprets booleans which is then converted to 0 for false and integer.max _ value for true . concode_field_sep String INDEX_INDEXING_SLOWLOG_PREFIX concode_elem_sep String level concode_elem_sep long indexTraceThreshold concode_elem_sep String INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO concode_elem_sep String INDEX_INDEXING_SLOWLOG_LEVEL concode_elem_sep ESLogger deleteLogger concode_elem_sep boolean reformat concode_elem_sep String INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE concode_elem_sep ESLogger indexLogger concode_elem_sep long tookInNanos concode_elem_sep long indexWarnThreshold concode_elem_sep String INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN concode_elem_sep String INDEX_INDEXING_SLOWLOG_REFORMAT concode_elem_sep long indexInfoThreshold concode_elem_sep int maxSourceCharsToLog concode_elem_sep ParsedDocument doc concode_elem_sep String INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG concode_elem_sep long indexDebugThreshold concode_elem_sep String INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG concode_field_sep void onRefreshSettings concode_elem_sep void postIndexing concode_elem_sep void postIndex concode_elem_sep String toString