[
https://issues.apache.org/jira/browse/MSHARED-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170922#comment-17170922
]
Elliotte Rusty Harold commented on MSHARED-937:
-----------------------------------------------
YAGNI. When's the last time you read and acted on one of these messages? For me
the answer is never.
Logging everything that someone might perhaps need sometime is an antipattern
that obscures genuinely useful and important information. In extreme cases,
I've seen CI builds that simply died because the logs exceeded some size limit.
> Demote log statement to debug
> -----------------------------
>
> Key: MSHARED-937
> URL: https://issues.apache.org/jira/browse/MSHARED-937
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-filtering
> Reporter: Elliotte Rusty Harold
> Priority: Minor
>
> In line 144 of DefaultMavenResourcesFiltering we have:
> {{ else
> {
> getLogger().info( "Using '" +
> mavenResourcesExecution.getEncoding()
> + "' encoding to copy filtered resources." );
> }}}
> This produces a lot of log junk and is inconsistent with most other locations
> in the file such as line 237 where similar messages are logged at DEBUG
> level. This message should be debug too.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)