mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-24 10:23:09 +00:00
disable logging so log4j can log to console properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2201 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -288,14 +288,16 @@ Common usage:
|
|||||||
|
|
||||||
<!-- Load the Schema -->
|
<!-- Load the Schema -->
|
||||||
<java classname="org.dspace.storage.rdbms.InitializeDatabase" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.storage.rdbms.InitializeDatabase" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
<arg value="database_schema.sql" />
|
<arg value="database_schema.sql" />
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
<!-- Add the browse tables -->
|
<!-- Add the browse tables -->
|
||||||
<java classname="org.dspace.browse.IndexBrowse" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.browse.IndexBrowse" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
<arg line="-t -x" />
|
<arg line="-t -x" />
|
||||||
</java>
|
</java>
|
||||||
@@ -312,7 +314,8 @@ Common usage:
|
|||||||
<target name="clean_database" description="Removes DSpace database tables, destroying data">
|
<target name="clean_database" description="Removes DSpace database tables, destroying data">
|
||||||
|
|
||||||
<java classname="org.dspace.storage.rdbms.InitializeDatabase" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.storage.rdbms.InitializeDatabase" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
<arg value="clean-database.sql" />
|
<arg value="clean-database.sql" />
|
||||||
</java>
|
</java>
|
||||||
@@ -329,7 +332,8 @@ Common usage:
|
|||||||
|
|
||||||
<!-- first import the bitstream registry -->
|
<!-- first import the bitstream registry -->
|
||||||
<java classname="org.dspace.administer.RegistryLoader" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.administer.RegistryLoader" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
<arg value="-bitstream" />
|
<arg value="-bitstream" />
|
||||||
<arg value="${dspace.dir}/config/registries/bitstream-formats.xml" />
|
<arg value="${dspace.dir}/config/registries/bitstream-formats.xml" />
|
||||||
@@ -337,7 +341,8 @@ Common usage:
|
|||||||
|
|
||||||
<!-- finally import the metadata elements -->
|
<!-- finally import the metadata elements -->
|
||||||
<java classname="org.dspace.administer.MetadataImporter" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.administer.MetadataImporter" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties"/>
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties"/>
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}"/>
|
<sysproperty key="dspace.configuration" value="${config}"/>
|
||||||
<arg line="-f ${dspace.dir}/config/registries/dublin-core-types.xml"/>
|
<arg line="-f ${dspace.dir}/config/registries/dublin-core-types.xml"/>
|
||||||
</java>
|
</java>
|
||||||
@@ -389,13 +394,15 @@ Common usage:
|
|||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<java classname="org.dspace.browse.IndexBrowse" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.browse.IndexBrowse" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
<arg line="-f" />
|
<arg line="-f" />
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
<java classname="org.dspace.search.DSIndexer" classpathref="class.path" fork="yes" failonerror="yes">
|
<java classname="org.dspace.search.DSIndexer" classpathref="class.path" fork="yes" failonerror="yes">
|
||||||
<sysproperty key="log4j.configuration" value="file:config/log4j-console.properties" />
|
<sysproperty key="log4j.configuration" value="config/log4j-console.properties" />
|
||||||
|
<sysproperty key="dspace.log.init.disable" value="true"/>
|
||||||
<sysproperty key="dspace.configuration" value="${config}" />
|
<sysproperty key="dspace.configuration" value="${config}" />
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user