zhangbutao commented on code in PR #5375:
URL: https://github.com/apache/hive/pull/5375#discussion_r1804096694


##########
data/conf/hive-log4j2.properties:
##########
@@ -14,9 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-status = INFO
 name = HiveLog4j2Test
-packages = org.apache.hadoop.hive.ql.log

Review Comment:
   
https://web.archive.org/web/20240823014436/https://logging.apache.org/log4j/2.x/manual/configuration.html#configuration-syntax
   
   `Use of the packages attribute is deprecated and will be removed in Log4j 
3.0. Plugins should be processed with the Log4j annotation processor. A comma 
separated list of package names to search for plugins. Plugins are only loaded 
once per classloader so changing this value may not have any effect upon 
reconfiguration.`
   
   How we replace `packages `with the new way? I think removing `package `will 
cause some unkown issue.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to