[ 
https://issues.apache.org/jira/browse/NUTCH-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007554#comment-18007554
 ] 

ASF GitHub Bot commented on NUTCH-3119:
---------------------------------------

sebastian-nagel opened a new pull request, #858:
URL: https://github.com/apache/nutch/pull/858

   - remove "package" attribute in log4j2.xml
   




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

Reply via email to