[ 
https://issues.apache.org/jira/browse/CHUKWA-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerome Boulon updated CHUKWA-41:
--------------------------------

    Comment: was deleted

(was: //escape the newlines from record bodies and then write this record to 
the log file
                  
this.qw.write(RecordConstants.escapeAllButLastRecordSeparator("\n",this.layout.format(event)));

                  if(layout.ignoresThrowable()) {
                          String[] s = event.getThrowableStrRep();
                          if (s != null) {
                                  int len = s.length;
                                  for(int i = 0; i < len; i++) {
                                          this.qw.write(s[i]);
                                          this.qw.write(Layout.LINE_SEP);
                                  }
                          }
                  }

)

> ChukwaLog4jAppender does not escape \n for exception
> ----------------------------------------------------
>
>                 Key: CHUKWA-41
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-41
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>            Reporter: Jerome Boulon
>            Assignee: Jerome Boulon
>            Priority: Blocker
>         Attachments: CHUKWA-41.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to