|
From: <kc...@us...> - 2003-06-06 07:17:34
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler
In directory sc8-pr-cvs1:/tmp/cvs-serv7160/src/hk/hku/cecid/phoenix/message/handler
Modified Files:
Utility.java
Log Message:
bug fix: external properties file mechanism fail when call configureLogger twice
Index: Utility.java
===================================================================
RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler/Utility.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Utility.java 27 May 2003 03:03:08 -0000 1.21
--- Utility.java 6 Jun 2003 07:17:30 -0000 1.22
***************
*** 482,487 ****
Constants.PROPERTY_EXTERNAL_LOGGER_CONFIG);
if (externalProperties != null &&
! (new File(externalProperties)).exists() &&
! !loggingConfigured) {
System.err.println("Info: loading LOG4J properties file at "
+ externalProperties);
--- 482,491 ----
Constants.PROPERTY_EXTERNAL_LOGGER_CONFIG);
if (externalProperties != null &&
! (new File(externalProperties)).exists()) {
!
! if (loggingConfigured) {
! return;
! }
!
System.err.println("Info: loading LOG4J properties file at "
+ externalProperties);
***************
*** 505,510 ****
Constants.PROPERTY_REQUEST_EXTERNAL_LOGGER_CONFIG);
if (externalProperties != null &&
! (new File(externalProperties)).exists() &&
! !loggingConfigured) {
System.err.println("Info: loading LOG4J properties file at "
+ externalProperties);
--- 509,518 ----
Constants.PROPERTY_REQUEST_EXTERNAL_LOGGER_CONFIG);
if (externalProperties != null &&
! (new File(externalProperties)).exists()) {
!
! if (loggingConfigured) {
! return;
! }
!
System.err.println("Info: loading LOG4J properties file at "
+ externalProperties);
|