prasanthj commented on a change in pull request #1849:
URL: https://github.com/apache/hive/pull/1849#discussion_r646329733
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/log/LogDivertAppender.java
##########
@@ -242,12 +244,17 @@ public static void
registerRoutingAppender(org.apache.hadoop.conf.Configuration
LoggerContext context = (LoggerContext) LogManager.getContext(false);
Configuration configuration = context.getConfiguration();
+ PurgePolicy purgePolicy = IdlePurgePolicy.createPurgePolicy("60", null,
"SECONDS", configuration);
Review comment:
IIRC the 60s was configurable from the log4j2.properties earlier. Can we
make this configurable via some means (preferably log4j2 properties)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]