You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/12/15 14:23:13 UTC
[myfaces-tobago] branch master updated: simplify logger definition
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 6ef6613 simplify logger definition
6ef6613 is described below
commit 6ef66139bd4f8d321ca33a6b417109e5b0b45f71
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Tue Dec 15 08:20:34 2020 +0100
simplify logger definition
---
.../src/main/java/org/apache/myfaces/tobago/config/TobagoConfig.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfig.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfig.java
index 831eada..17bb190 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfig.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfig.java
@@ -35,6 +35,7 @@ import org.slf4j.LoggerFactory;
import javax.faces.application.Application;
import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;
+import java.lang.invoke.MethodHandles;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -45,7 +46,7 @@ import java.util.Set;
public class TobagoConfig {
- private static final Logger LOG = LoggerFactory.getLogger(TobagoConfig.class);
+ private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
public static final String TOBAGO_CONFIG = "org.apache.myfaces.tobago.config.TobagoConfig";