Raghav Aggarwal created HIVE-29026:
--------------------------------------

             Summary: Cleanup Log4j properties file to adhere to 2.24.3 changes
                 Key: HIVE-29026
                 URL: https://issues.apache.org/jira/browse/HIVE-29026
             Project: Hive
          Issue Type: Improvement
            Reporter: Raghav Aggarwal
            Assignee: Raghav Aggarwal


For log4j 2.24.3, the changes to remove packages attribute due to LOG4J2-3644 
was done only in 
[data/conf/hive-log4j2.properties|https://github.com/apache/hive/pull/5636/files#diff-d003b0ed1a14718be707a0b4e196ca3c2f9dc7adad2ca10d4868946aac53a178].

But in hive tarball which we ship, log4j properties is picked from 
[_common/src/main/resources/hive-log4j2.properties_|https://github.com/apache/hive/blob/39c88d7c1742b6ab0c87d58d333d81aefedeba3d/packaging/src/main/assembly/bin.xml#L418]
 which doesn't contain the log4j cleanup changes. 
{code:java}
2025-06-16T20:51:52.848390Z main WARN The use of package scanning to locate 
Log4j plugins is deprecated.
Please remove the `packages` attribute from your configuration file.
See https://logging.apache.org/log4j/2.x/faq.html#package-scanning for details. 
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to