[ https://issues.apache.org/jira/browse/HIVE-16388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957770#comment-15957770 ]
Prasanth Jayachandran commented on HIVE-16388: ---------------------------------------------- Note: 1) Time based GC log rotation is not natively supported by JVM. So for the GC logs, only size based rotation can set the timestamp on the filenames. For all other log4j generated files, files get rotated every hour or every 256MB whichever happens first. 2) The configuration is written to STDERR. The same can be achieved with log4j's marker filter + appender ref but doing it code is easier as we also attach the timezone info to log line. 3) History logs are now rotated every hour instead of every day [~sseth] can you please review? > LLAP: Log rotation for daemon, history and gc files > --------------------------------------------------- > > Key: HIVE-16388 > URL: https://issues.apache.org/jira/browse/HIVE-16388 > Project: Hive > Issue Type: Bug > Components: llap > Affects Versions: 3.0.0 > Reporter: Siddharth Seth > Assignee: Prasanth Jayachandran > Attachments: HIVE-16388.1.patch > > > GC logs need to be rotated by date. > LLAP daemon history logs as well > Ideally, the daemon.out file needs the same > Need to be able to download relevant logfiles for a time window. -- This message was sent by Atlassian JIRA (v6.3.15#6346)