VIVO-1258 derive location of log files from CATALINA_BASE instead of CATALINA_HOME (#56)

* VIVO-1246 improve the ConfigurationBeanLoader:

Add cardinality parameters minOccurs and maxOccurs
Create README.md document in the edu.cornell.mannlib.vitro.webapp.utils.configuration package
Split large class of unit tests into separate classes by functionality

* VIVO-1247, remove duplicate code used with ConfigurationBeanLoader.

Now that the @Property annotation includes cardinality parameters, we can remove a lot of duplicate code.

* VIVO-1246 Move unit tests to the new location.

* VIVO-1246 The documentation was in the wrong place.

* VIVO-1258 derive location of log files from CATALINA_BASE instead of CATALINA_HOME
This commit is contained in:
Jim Blake 2017-04-05 09:15:28 -04:00 committed by GitHub
parent c93c82c66b
commit 7991bc3da1
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ import org.apache.log4j.spi.LoggingEvent;
*
* <pre>
* log4j.appender.RiotAppender=org.apache.log4j.RollingFileAppender
* log4j.appender.RiotAppender.File= $${catalina.home}/logs/${webapp.name}.riot.log
* log4j.appender.RiotAppender.File= $${catalina.base}/logs/${webapp.name}.riot.log
* log4j.appender.RiotAppender.MaxFileSize=10MB
* log4j.appender.RiotAppender.MaxBackupIndex=10
* log4j.appender.RiotAppender.layout=edu.cornell.mannlib.vitro.webapp.utils.logging.StackTraceLayout