You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gr...@apache.org on 2023/12/11 22:21:46 UTC
(logging-chainsaw) branch master updated (ce5eabd -> f1b6fbc)
This is an automated email from the ASF dual-hosted git repository.
grobmeier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git
from ce5eabd extracted tutorial frame to its own class
new 2c4c82f moved logger up to first position in file
new f1b6fbc removed obsolete method
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/main/java/org/apache/log4j/chainsaw/LogUI.java | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
(logging-chainsaw) 02/02: removed obsolete method
Posted by gr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
grobmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git
commit f1b6fbc2a0ddf444b08b6c94631c27af9866eea5
Author: Christian Grobmeier <cg...@grobmeier.de>
AuthorDate: Mon Dec 11 23:21:26 2023 +0100
removed obsolete method
---
src/main/java/org/apache/log4j/chainsaw/LogUI.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/main/java/org/apache/log4j/chainsaw/LogUI.java b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
index 07669d8..84c9cd8 100644
--- a/src/main/java/org/apache/log4j/chainsaw/LogUI.java
+++ b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
@@ -165,16 +165,6 @@ public class LogUI extends JFrame {
shutdownListenerList.add(ShutdownListener.class, l);
}
- /**
- * Removes the registered ShutdownListener so that the listener will not be
- * notified on a shutdown.
- *
- * @param l
- */
- public void removeShutdownListener(ShutdownListener l) {
- shutdownListenerList.remove(ShutdownListener.class, l);
- }
-
/**
* Initialises the menu's and toolbars, but does not actually create any of
* the main panel components.
(logging-chainsaw) 01/02: moved logger up to first position in file
Posted by gr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
grobmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git
commit 2c4c82fe2544fa1e41aea3f8cd86664dbd1795a4
Author: Christian Grobmeier <cg...@grobmeier.de>
AuthorDate: Mon Dec 11 23:19:56 2023 +0100
moved logger up to first position in file
---
src/main/java/org/apache/log4j/chainsaw/LogUI.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/log4j/chainsaw/LogUI.java b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
index 45f9e06..07669d8 100644
--- a/src/main/java/org/apache/log4j/chainsaw/LogUI.java
+++ b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
@@ -81,6 +81,8 @@ import java.util.Set;
* @author Paul Smith <psmith@apache.org>
*/
public class LogUI extends JFrame {
+ private static Logger logger = LogManager.getLogger(LogUI.class);
+
private static final String MAIN_WINDOW_HEIGHT = "main.window.height";
private static final String MAIN_WINDOW_WIDTH = "main.window.width";
private static final String MAIN_WINDOW_Y = "main.window.y";
@@ -111,7 +113,6 @@ public class LogUI extends JFrame {
private List<ReceiverEventListener> receiverListeners = new ArrayList<>();
private ZeroConfPlugin zeroConf = new ZeroConfPlugin(settingsManager);
- private static Logger logger = LogManager.getLogger(LogUI.class);
private final Object initializationLock = new Object();