You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2011/06/30 08:49:11 UTC

svn commit: r1141412 - in /incubator/isis/trunk/examples/quickstart: quickrun/src/main/resources/ tests-junit/logs/ viewer-html/src/main/webapp/WEB-INF/ viewer-json/src/main/webapp/WEB-INF/ viewer-scimpi/src/main/webapp/WEB-INF/ viewer-wicket/src/main/...

Author: danhaywood
Date: Thu Jun 30 06:49:10 2011
New Revision: 1141412

URL: http://svn.apache.org/viewvc?rev=1141412&view=rev
Log:
changing the logging.properties for quickstart app to only write to Console, not file (workaround fact that the directory that isis.log gets written to might not exist in the generated app)

Added:
    incubator/isis/trunk/examples/quickstart/viewer-wicket/src/main/webapp/WEB-INF/logging.properties
Removed:
    incubator/isis/trunk/examples/quickstart/tests-junit/logs/
Modified:
    incubator/isis/trunk/examples/quickstart/quickrun/src/main/resources/logging.properties
    incubator/isis/trunk/examples/quickstart/viewer-html/src/main/webapp/WEB-INF/logging.properties
    incubator/isis/trunk/examples/quickstart/viewer-json/src/main/webapp/WEB-INF/logging.properties
    incubator/isis/trunk/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
    incubator/isis/trunk/examples/quickstart/viewer-xhtml/src/main/webapp/WEB-INF/logging.properties

Modified: incubator/isis/trunk/examples/quickstart/quickrun/src/main/resources/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/quickrun/src/main/resources/logging.properties?rev=1141412&r1=1141411&r2=1141412&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/quickrun/src/main/resources/logging.properties (original)
+++ incubator/isis/trunk/examples/quickstart/quickrun/src/main/resources/logging.properties Thu Jun 30 06:49:10 2011
@@ -15,8 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 # apache's log4j is used to provide system logging.
-#log4j.rootCategory=DEBUG, Console, File
-log4j.rootCategory=INFO, Console, File
+log4j.rootCategory=INFO, Console
 
 # The console appender
 log4j.appender.Console=org.apache.log4j.ConsoleAppender
@@ -24,15 +23,8 @@ log4j.appender.Console.target=System.out
 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
 log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
 
-
 log4j.appender.File=org.apache.log4j.RollingFileAppender
 log4j.appender.File.file=isis.log
 log4j.appender.File.append=false
-#log4j.appender.File.maxFileSize=500KB
-#log4j.appender.File.maxBackupIndex=1
 log4j.appender.File.layout=org.apache.log4j.PatternLayout
 log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
-
-
-
-

Modified: incubator/isis/trunk/examples/quickstart/viewer-html/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/viewer-html/src/main/webapp/WEB-INF/logging.properties?rev=1141412&r1=1141411&r2=1141412&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/viewer-html/src/main/webapp/WEB-INF/logging.properties (original)
+++ incubator/isis/trunk/examples/quickstart/viewer-html/src/main/webapp/WEB-INF/logging.properties Thu Jun 30 06:49:10 2011
@@ -15,8 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 # apache's log4j is used to provide system logging.
-#log4j.rootCategory=DEBUG, Console, File
-log4j.rootCategory=INFO, Console, File
+log4j.rootCategory=INFO, Console
 
 # The console appender
 log4j.appender.Console=org.apache.log4j.ConsoleAppender
@@ -24,15 +23,8 @@ log4j.appender.Console.target=System.out
 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
 log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
 
-
 log4j.appender.File=org.apache.log4j.RollingFileAppender
 log4j.appender.File.file=isis.log
 log4j.appender.File.append=false
-#log4j.appender.File.maxFileSize=500KB
-#log4j.appender.File.maxBackupIndex=1
 log4j.appender.File.layout=org.apache.log4j.PatternLayout
 log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
-
-
-
-

Modified: incubator/isis/trunk/examples/quickstart/viewer-json/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/viewer-json/src/main/webapp/WEB-INF/logging.properties?rev=1141412&r1=1141411&r2=1141412&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/viewer-json/src/main/webapp/WEB-INF/logging.properties (original)
+++ incubator/isis/trunk/examples/quickstart/viewer-json/src/main/webapp/WEB-INF/logging.properties Thu Jun 30 06:49:10 2011
@@ -15,8 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 # apache's log4j is used to provide system logging.
-#log4j.rootCategory=DEBUG, Console, File
-log4j.rootCategory=INFO, Console, File
+log4j.rootCategory=INFO, Console
 
 # The console appender
 log4j.appender.Console=org.apache.log4j.ConsoleAppender
@@ -24,15 +23,8 @@ log4j.appender.Console.target=System.out
 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
 log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
 
-
 log4j.appender.File=org.apache.log4j.RollingFileAppender
 log4j.appender.File.file=isis.log
 log4j.appender.File.append=false
-#log4j.appender.File.maxFileSize=500KB
-#log4j.appender.File.maxBackupIndex=1
 log4j.appender.File.layout=org.apache.log4j.PatternLayout
 log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
-
-
-
-

Modified: incubator/isis/trunk/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties?rev=1141412&r1=1141411&r2=1141412&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties (original)
+++ incubator/isis/trunk/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties Thu Jun 30 06:49:10 2011
@@ -15,8 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 # apache's log4j is used to provide system logging.
-#log4j.rootCategory=DEBUG, Console, File
-log4j.rootCategory=INFO, Console, File
+log4j.rootCategory=INFO, Console
 
 # The console appender
 log4j.appender.Console=org.apache.log4j.ConsoleAppender
@@ -24,15 +23,8 @@ log4j.appender.Console.target=System.out
 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
 log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
 
-
 log4j.appender.File=org.apache.log4j.RollingFileAppender
 log4j.appender.File.file=isis.log
 log4j.appender.File.append=false
-#log4j.appender.File.maxFileSize=500KB
-#log4j.appender.File.maxBackupIndex=1
 log4j.appender.File.layout=org.apache.log4j.PatternLayout
 log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
-
-
-
-

Added: incubator/isis/trunk/examples/quickstart/viewer-wicket/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/viewer-wicket/src/main/webapp/WEB-INF/logging.properties?rev=1141412&view=auto
==============================================================================
--- incubator/isis/trunk/examples/quickstart/viewer-wicket/src/main/webapp/WEB-INF/logging.properties (added)
+++ incubator/isis/trunk/examples/quickstart/viewer-wicket/src/main/webapp/WEB-INF/logging.properties Thu Jun 30 06:49:10 2011
@@ -0,0 +1,30 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#         http://www.apache.org/licenses/LICENSE-2.0
+#         
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+# apache's log4j is used to provide system logging.
+log4j.rootCategory=INFO, Console
+
+# The console appender
+log4j.appender.Console=org.apache.log4j.ConsoleAppender
+log4j.appender.Console.target=System.out
+log4j.appender.Console.layout=org.apache.log4j.PatternLayout
+log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
+
+log4j.appender.File=org.apache.log4j.RollingFileAppender
+log4j.appender.File.file=isis.log
+log4j.appender.File.append=false
+log4j.appender.File.layout=org.apache.log4j.PatternLayout
+log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n

Modified: incubator/isis/trunk/examples/quickstart/viewer-xhtml/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/quickstart/viewer-xhtml/src/main/webapp/WEB-INF/logging.properties?rev=1141412&r1=1141411&r2=1141412&view=diff
==============================================================================
--- incubator/isis/trunk/examples/quickstart/viewer-xhtml/src/main/webapp/WEB-INF/logging.properties (original)
+++ incubator/isis/trunk/examples/quickstart/viewer-xhtml/src/main/webapp/WEB-INF/logging.properties Thu Jun 30 06:49:10 2011
@@ -15,8 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 # apache's log4j is used to provide system logging.
-#log4j.rootCategory=DEBUG, Console, File
-log4j.rootCategory=INFO, Console, File
+log4j.rootCategory=INFO, Console
 
 # The console appender
 log4j.appender.Console=org.apache.log4j.ConsoleAppender
@@ -24,15 +23,8 @@ log4j.appender.Console.target=System.out
 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
 log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
 
-
 log4j.appender.File=org.apache.log4j.RollingFileAppender
 log4j.appender.File.file=isis.log
 log4j.appender.File.append=false
-#log4j.appender.File.maxFileSize=500KB
-#log4j.appender.File.maxBackupIndex=1
 log4j.appender.File.layout=org.apache.log4j.PatternLayout
 log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
-
-
-
-