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

ASF GitHub Bot commented on MNG-7724:
-------------------------------------

rmannibucau commented on code in PR #1041:
URL: https://github.com/apache/maven/pull/1041#discussion_r1129443535


##########
maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/JDKConfiguration.java:
##########
@@ -0,0 +1,52 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.maven.cli.logging.impl;
+
+import java.util.logging.Logger;
+
+import org.apache.maven.cli.logging.BaseSlf4jConfiguration;
+
+/**
+ * Configuration for slf4j-jdk14.
+ */
+public class JDKConfiguration extends BaseSlf4jConfiguration {

Review Comment:
   well, this one is easy, maven integrates with logback, log4j2, etc so it 
integrated with slf4j bindings, jdk14 is just a standard one so we must 
integrate with, no real ambiguity.
   now if I didn't get it and you mean maven shouldn't integrate with slf4j 
binding - I can agree with that at some point - then I'd be happy to drop 
logback, log4j2 and other integrations too.





> Don't log warnings when runtime is not broken (slf4j integrations)
> ------------------------------------------------------------------
>
>                 Key: MNG-7724
>                 URL: https://issues.apache.org/jira/browse/MNG-7724
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 4.0.0-alpha-4
>            Reporter: Romain Manni-Bucau
>            Priority: Minor
>
> As of now if we change the SLF4J bindings maven will issue warnings because a 
> few features are disabled but due to the nature of switching these bindings 
> it is highly likely it is intended and therefore the warning are misleading 
> more than helping.
> The solution can be to log a warning if a configured factory fails to load 
> but just log info when it succeeds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to