You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vlad Gudikov (JIRA)" <ji...@apache.org> on 2017/09/07 08:29:02 UTC

[jira] [Created] (HIVE-17477) PidFilePatternConverter not rolling log according to their pid

Vlad Gudikov created HIVE-17477:
-----------------------------------

             Summary: PidFilePatternConverter not rolling log according to their pid 
                 Key: HIVE-17477
                 URL: https://issues.apache.org/jira/browse/HIVE-17477
             Project: Hive
          Issue Type: Bug
          Components: Logging
            Reporter: Vlad Gudikov


We can use pid  in th filePattern:

appender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}.%pid

But when its time roll the logs at the end of the RollingAppender just renames hive.log by applying the pattern described above and keeps logs that are not related to the process this log was named by. The issue is that all processes are writing to the same log and we cannot separate them by pid.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)