[
https://issues.apache.org/jira/browse/MSHARED-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170839#comment-17170839
]
Dennis Lundberg commented on MSHARED-937:
-----------------------------------------
I have a different opinion on this.
The first line (143-144) is done once for each build/resources/resource, so for
a normal project it would be once or twice for main and maybe once for test. I
don't think that is a lot. This is also useful information to the user, so that
they know which encoding is being used.
The other line (which is now at 260) is done once for each filtered resource
file. So it makes sense to log that at the DEBUG level, instead of INFO level,
because there could be a lot of resource files in a project.
> 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)