sdeboy 2004/01/14 15:15:38
Modified: src/java/org/apache/log4j/chainsaw LogUI.java
Log:
Commented out calls to the control center logger that were being made prior to the
configuration being loaded. Events which were available when the receiver was
enabled
were not being loaded (callAppenders was being called but the chainsaw event batch
receiver was not added yet)
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.73 +3 -3 logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java
Index: LogUI.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- LogUI.java 5 Jan 2004 04:37:33 -0000 1.72
+++ LogUI.java 14 Jan 2004 23:15:38 -0000 1.73
@@ -1390,7 +1390,7 @@
if (
UIManager.getLookAndFeel().getClass().getName().equals(
lookAndFeelClassName)) {
- MessageCenter.getInstance().getLogger().debug("No need to change L&F, already
the same");
+ //MessageCenter.getInstance().getLogger().debug("No need to change L&F,
already the same");
return;
}
@@ -1402,9 +1402,9 @@
}
try {
UIManager.setLookAndFeel(lookAndFeelClassName);
- MessageCenter.getInstance().getLogger().debug("Setting L&F -> " +
lookAndFeelClassName);
+ //MessageCenter.getInstance().getLogger().debug("Setting L&F -> " +
lookAndFeelClassName);
} catch (Exception e) {
- MessageCenter.getInstance().getLogger().error("Failed to change L&F", e);
+ //MessageCenter.getInstance().getLogger().error("Failed to change L&F", e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]