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

anishek commented on HIVE-15260:
--------------------------------

[~thejas] Looks like the delete facility via  
"log4j.appender.DRFA.MaxBackupIndex"  is provided as part of 
org.apache.log4j.RollingFileAppender and not  
org.apache.log4j.DailyRollingFileAppender. Additionally the 
PidDailyRollingFileAppender has to be extended from RollingFileAppender.

Please do let me know if i go ahead with the respective changes for this ?


> Auto delete old log files of hive services
> ------------------------------------------
>
>                 Key: HIVE-15260
>                 URL: https://issues.apache.org/jira/browse/HIVE-15260
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Metastore
>            Reporter: Thejas M Nair
>            Assignee: anishek
>
> Hive log4j settings rotate the old log files by date, but they don't delete 
> the old log files.
> It would be good to delete the old log files so that the space used doesn't 
> keep increasing for ever.



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

Reply via email to