servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r750818 - in /servicemix/smx4/kernel/trunk/assembly/src/main/distribution: text/etc/java.util.logging.properties unix-shell/bin/servicemix windows-text/bin/servicemix.bat
Date Fri, 06 Mar 2009 09:31:47 GMT
Author: ffang
Date: Fri Mar  6 09:31:38 2009
New Revision: 750818

URL: http://svn.apache.org/viewvc?rev=750818&view=rev
Log:
[SMX4KNL-230]Log statements using java.util.logging are logged into both stderr and data/log/servicemix.log
file

Added:
    servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
  (with props)
Modified:
    servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix
    servicemix/smx4/kernel/trunk/assembly/src/main/distribution/windows-text/bin/servicemix.bat

Added: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties?rev=750818&view=auto
==============================================================================
--- servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
(added)
+++ servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
Fri Mar  6 09:31:38 2009
@@ -0,0 +1,2 @@
+#empty java.util.logging.properties to prevent the log to stderr, so that with pax logging
jdk handler
+#we can only see the log in servicemix.log

Propchange: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/text/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix?rev=750818&r1=750817&r2=750818&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix
(original)
+++ servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix
Fri Mar  6 09:31:38 2009
@@ -281,7 +281,7 @@
         SERVICEMIX_HOME=`cygpath --path --windows "$SERVICEMIX_HOME"`
         SERVICEMIX_BASE=`cygpath --path --windows "$SERVICEMIX_BASE"`
     fi
-    exec $JAVA $JAVA_OPTS -Dservicemix.home="$SERVICEMIX_HOME" -Dservicemix.base="$SERVICEMIX_BASE"
$OPTS -classpath "$CLASSPATH" org.apache.servicemix.kernel.main.Main $*
+    exec $JAVA $JAVA_OPTS -Dservicemix.home="$SERVICEMIX_HOME" -Dservicemix.base="$SERVICEMIX_BASE"
-Djava.util.logging.config.file=$SERVICEMIX_BASE/etc/java.util.logging.properties $OPTS -classpath
"$CLASSPATH" org.apache.servicemix.kernel.main.Main $*
 }
 
 main() {

Modified: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/windows-text/bin/servicemix.bat
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/assembly/src/main/distribution/windows-text/bin/servicemix.bat?rev=750818&r1=750817&r2=750818&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/assembly/src/main/distribution/windows-text/bin/servicemix.bat
(original)
+++ servicemix/smx4/kernel/trunk/assembly/src/main/distribution/windows-text/bin/servicemix.bat
Fri Mar  6 09:31:38 2009
@@ -152,7 +152,7 @@
     if "%SHIFT%" == "true" SET ARGS=%2 %3 %4 %5 %6 %7 %8
     if not "%SHIFT%" == "true" SET ARGS=%1 %2 %3 %4 %5 %6 %7 %8    
     rem Execute the Java Virtual Machine
-    "%JAVA%" %JAVA_OPTS% %OPTS% -classpath "%CLASSPATH%" -Dservicemix.home="%SERVICEMIX_HOME%"
-Dservicemix.base="%SERVICEMIX_BASE%" org.apache.servicemix.kernel.main.Main %ARGS%
+    "%JAVA%" %JAVA_OPTS% %OPTS% -classpath "%CLASSPATH%" -Dservicemix.home="%SERVICEMIX_HOME%"
-Dservicemix.base="%SERVICEMIX_BASE%" -Djava.util.logging.config.file=%SERVICEMIX_BASE%\etc\java.util.logging.properties
org.apache.servicemix.kernel.main.Main %ARGS%
 
 rem # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 



Mime
View raw message