You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dustin Cote (JIRA)" <ji...@apache.org> on 2016/05/25 19:29:12 UTC

[jira] [Commented] (KAFKA-2971) KAFKA - Not obeying log4j settings, DailyRollingFileAppender not rolling files

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

Dustin Cote commented on KAFKA-2971:
------------------------------------

[~jkreps] and [~dban] I believe this issue is best addressed by moving to the much more stable RollingFileAppender as described in KAFKA-2394.  Any objection to using the approach there and closing this one out?

> KAFKA - Not obeying log4j settings, DailyRollingFileAppender not rolling files
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-2971
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2971
>             Project: Kafka
>          Issue Type: Bug
>          Components: config, log
>    Affects Versions: 0.8.2.2
>         Environment: OS: Windows Server 2008 R2 Enterprise SP1
> log4j: 1.2.16
>            Reporter: Damir Ban
>            Assignee: Jay Kreps
>             Fix For: 0.10.1.0
>
>         Attachments: log4j.properties
>
>
> Per the settings in log4j it is expected that log files get rolled over periodically, but they are just getting filled until restart of service when they are overwritten.
> As we have intermittent fatal failures customer restarts the service and we loose the information about the failure.
> We have tried different date paterns in the DailyRollingFileAppender, but no change.
> Attaching the log4j.properties



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