[logback-dev] [JIRA] Issue Comment Edited: (LBCLASSIC-195) Allow TurboFilters to modify events

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Fri Mar 19 16:12:16 CET 2010


    [ http://jira.qos.ch/browse/LBCLASSIC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11645#action_11645 ] 

Ceki Gulcu edited comment on LBCLASSIC-195 at 3/19/10 4:11 PM:
---------------------------------------------------------------

Ralph, I hope you know by now that your opinion matters even without veto powers. The required changes to the config file are described at [1].
Basically, 
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
    <file>testFile.log</file>
    <layout class="ch.qos.logback.classic.PatternLayout">
      <pattern>%msg%n</pattern>
    </layout>
  </appender>

has to be changed to

<appender name="FILE" class="ch.qos.logback.core.FileAppender">
    <file>testFile.log</file>
    <encoder>
      <pattern>%msg%n</pattern>
    </encode>
  </appender> 

Is that something you could live with?

[1] http://logback.qos.ch/temp/codes.html#layoutInsteadOfEncoder

      was (Author: noreply.ceki at qos.ch):
    Ralph, I hope you know by now that your opinion matters even without veto powers. The required changes to the config file are described at [1].
Basically, 
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
    <file>testFile.log</file>
    <layout class="ch.qos.logback.classic.PatternLayout">
      <pattern>%msg%n</pattern>
    </layout>
  </appender>

has to be changed to

<appender name="FILE" class="ch.qos.logback.core.FileAppender">
    <file>testFile.log</file>
    <encoder>
      <pattern>%msg%n</pattern>
    </encode>
  </appender> 

Is that something you could live with?

[1] http://logback.qos.ch/temp/codes.html#layoutInsteadOfEncoder














  
> Allow TurboFilters to modify events
> -----------------------------------
>
>                 Key: LBCLASSIC-195
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-195
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: Other
>            Reporter: Ceki Gulcu
>            Assignee: Ceki Gulcu
>            Priority: Blocker
>
> http://qos.ch/pipermail/logback-dev/2010-March/005290.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list