WangJie created AMBARI-20390:
--------------------------------

             Summary: Inappropriate kafka log4j configuration results in too 
much kafka logs 
                 Key: AMBARI-20390
                 URL: https://issues.apache.org/jira/browse/AMBARI-20390
             Project: Ambari
          Issue Type: Bug
          Components: ambari-sever
    Affects Versions: trunk, 2.4.0
            Reporter: WangJie


Inappropriate kafka log4j configuration results in too much kafka logs which 
are constantly increasing and never be removed.
Besides,DailyRollingFileAppender does not support property:maxBackupIndex and 
maxFileSize, Only RollingFileAppender supports it.

Suggestion:
Change kafka log4j appender mode from DailyRollingFileAppender to 
RollingFileAppender.
In this way, it will automatically remove the useless kafka log file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to