[
https://issues.apache.org/jira/browse/NUTCH-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008912#comment-18008912
]
ASF GitHub Bot commented on NUTCH-3119:
---------------------------------------
sebastian-nagel merged PR #858:
URL: https://github.com/apache/nutch/pull/858
> Log4j package scanning is deprecated
> ------------------------------------
>
> Key: NUTCH-3119
> URL: https://issues.apache.org/jira/browse/NUTCH-3119
> Project: Nutch
> Issue Type: Bug
> Components: logging
> Affects Versions: 1.21
> Environment: (local mode)
> Reporter: Sebastian Nagel
> Priority: Trivial
> Fix For: 1.22
>
>
> (seen when testing Nutch 1.21 release candidate #2)
> Log4j prints a deprecation warning regarding "package scanning".
> {noformat}
> 2025-07-16T11:03:37.921708Z 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.
> {noformat}
> To address the deprecation the "packages" attribute (empty value) needs to be
> removed from the "Configuration" root element in conf/log4j2.xml.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)