Sebastian Nagel created NUTCH-3119: -------------------------------------- Summary: 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 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)