jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mets...@apache.org
Subject svn commit: r1666734 - /jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java
Date Sat, 14 Mar 2015 19:29:04 GMT
Author: metskem
Date: Sat Mar 14 19:29:04 2015
New Revision: 1666734

URL: http://svn.apache.org/r1666734
Log:
getting the external logconfig now also envvar-aware

Modified:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java?rev=1666734&r1=1666733&r2=1666734&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java (original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/WikiEngine.java Sat Mar 14 19:29:04
2015
@@ -458,7 +458,7 @@ public class WikiEngine
         //
         if( !c_configured )
         {
-            String useExternalLogConfig = props.getProperty("jspwiki.use.external.logconfig");
+            String useExternalLogConfig = TextUtil.getStringProperty(props,"jspwiki.use.external.logconfig","false");
             if( useExternalLogConfig == null || useExternalLogConfig.equals("false"))
             {
                 PropertyConfigurator.configure( props );



Mime
View raw message