[
https://issues.apache.org/jira/browse/NUTCH-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007547#comment-18007547
]
Hudson commented on NUTCH-3118:
-------------------------------
SUCCESS: Integrated in Jenkins build Nutch ยป Nutch-trunk #193 (See
[https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/193/])
NUTCH-3118 Logging pattern missing one argument placeholder (#857) (github:
[https://github.com/apache/nutch/commit/2786b5a9baefc4803964a4c5197cfbfe32f8988e])
* (edit) src/java/org/apache/nutch/plugin/PluginRepository.java
> Logging pattern missing one argument placeholder
> ------------------------------------------------
>
> Key: NUTCH-3118
> URL: https://issues.apache.org/jira/browse/NUTCH-3118
> Project: Nutch
> Issue Type: Bug
> Components: logging, plugin
> Affects Versions: 1.19
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Major
> Fix For: 1.21
>
>
> {noformat}
> 2025-07-16 09:52:00,603 INFO o.a.n.p.PluginRepository [main] Registered
> Extension-Points:
> 2025-07-16T07:52:00.603565Z main WARN found 1 argument placeholders, but
> provided 2 for pattern ` ({})`
> 2025-07-16T07:52:00.603702Z main WARN found 1 argument placeholders, but
> provided 2 for pattern ` ({})`
> {noformat}
> This issue was observed while testing a release candidate for 1.21. Because
> of the eye-catching warning for every Nutch tool, I'm going to include the
> fix into 1.21.
> This useful warning seems to be a new feature of the logging libraries.
> Before (Nutch 1.19 and 1.20) the log messages were simply missing one
> parameter:
> {noformat}
> 2025-07-11 15:50:17,951 INFO o.a.n.p.PluginRepository [main] Registered
> Extension-Points:
> 2025-07-11 15:50:17,951 INFO o.a.n.p.PluginRepository [main] (Nutch
> Content Parser)
> 2025-07-11 15:50:17,951 INFO o.a.n.p.PluginRepository [main] (Nutch
> URL Filter)
> 2025-07-11 15:50:17,951 INFO o.a.n.p.PluginRepository [main] (HTML
> Parse Filter)
> {noformat}
> With the fix applied, it's:
> {noformat}
> 2025-07-16 09:56:06,849 INFO o.a.n.p.PluginRepository [main] Registered
> Extension-Points:
> 2025-07-16 09:56:06,849 INFO o.a.n.p.PluginRepository [main] Nutch Content
> Parser (org.apache.nutch.parse.Parser)
> 2025-07-16 09:56:06,849 INFO o.a.n.p.PluginRepository [main] Nutch URL
> Filter (org.apache.nutch.net.URLFilter)
> 2025-07-16 09:56:06,849 INFO o.a.n.p.PluginRepository [main] HTML Parse
> Filter (org.apache.nutch.parse.HtmlParseFilter)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)