You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "wanbin (JIRA)" <ji...@apache.org> on 2016/01/31 16:59:39 UTC

[jira] [Commented] (FLUME-2246) event body data size can make it configurable for logger sinker

    [ https://issues.apache.org/jira/browse/FLUME-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125395#comment-15125395 ] 

wanbin commented on FLUME-2246:
-------------------------------

I met this problem on version 1.6.0 also. It seem to can't access maxBytesToLog argument.
I looked over relevant code, I found SinkConfiguration has a problem.  I fixed it by modification  LOGGER("org.apache.flume.conf.sink.LoggerConfiguration")  in SinkConfigurationType enum.

> event body data size can make it configurable for logger sinker
> ---------------------------------------------------------------
>
>                 Key: FLUME-2246
>                 URL: https://issues.apache.org/jira/browse/FLUME-2246
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.4.0
>            Reporter: Gopinathan A
>            Assignee: Ashish Paliwal
>            Priority: Minor
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2246-0.patch, FLUME-2246-1.patch, FLUME-2246-2.patch
>
>
> Currently logger sinker will dump only 16 bytes of data into log file, better to make it configurable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)