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


##########
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:
   - According to https://github.com/apache/logging-log4j2/issues/2791, we no 
longer need such list definition, log4j2 will scan it automatically. Not 
surprisingly, retaining this attribute causes the warning.
   ```shell
   2024-08-02T10:55:16.634Z main WARN The use of package scanning to locate 
plugins is deprecated and will be removed in a future release
   2024-08-02T10:55:16.650Z main WARN The use of package scanning to locate 
plugins is deprecated and will be removed in a future release
   2024-08-02T10:55:16.670Z main WARN The use of package scanning to locate 
plugins is deprecated and will be removed in a future release
   2024-08-02T10:55:16.686Z main WARN The use of package scanning to locate 
plugins is deprecated and will be removed in a future release
   ```



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