String function ( String arg0 , String arg1 , String arg2 ) { StringBuilder loc0 = new StringBuilder ( ) ; start ( Keys . USER , arg0 , loc0 ) ; addRemoteIP ( loc0 ) ; add ( Keys . OPERATION , arg1 , loc0 ) ; add ( Keys . TARGET , arg2 , loc0 ) ; add ( Keys . RESULT , Constants . SUCCESS , loc0 ) ; return loc0 . toString ( ) ; }
a helper api for creating an audit log for a successful event . this is factored out for testing purpose . concode_field_sep Log LOG concode_elem_sep String KEY_VAL_SEPARATOR concode_elem_sep String REFRESH_QUEUE concode_elem_sep String UNAUTHORIZED_USER concode_elem_sep char PAIR_SEPARATOR concode_elem_sep String JOBTRACKER concode_elem_sep String REFRESH_NODES concode_elem_sep String SUCCESS concode_elem_sep String FAILURE concode_field_sep void add concode_elem_sep void logSuccess concode_elem_sep void logFailure concode_elem_sep void addRemoteIP concode_elem_sep void start concode_elem_sep String createFailureLog