Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-11309 Replace PidDailyRollingFileAppender with equivalent log4j2 implementation
- Resolved
- links to