Adds a log4j2 configuration. The old one is fully compatible.
Changes the build-hooks.xml to copy the new configuration into the WEB-INF directory, which is the first place log4j2 searches for files. git-svn-id: https://svn.libreccm.org/ccm/trunk@4961 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e85570b745
commit
34a0918c92
|
|
@ -53,9 +53,8 @@
|
|||
unless="this.deploy.dir" />
|
||||
<!-- deploy the log4j configuration file into the web applications
|
||||
document root tree -->
|
||||
<mkdir dir="${this.deploy.dir}/WEB-INF/conf"/>
|
||||
<copy todir="${this.deploy.dir}/WEB-INF/conf"
|
||||
file="${src.dir}/log4j.properties"/>
|
||||
<copy todir="${this.deploy.dir}/WEB-INF"
|
||||
file="${src.dir}/log4j2.properties"/>
|
||||
<!-- project.xml moved to bundle cfg directory where it replaces
|
||||
former application.cfg -->
|
||||
<xslt style="${ccm.tools.xsl.dir}/build-version.xsl"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# To customize logging, copy this file to
|
||||
# $CCM_HOME/WEB-INF/conf/log4j.properties and edit it appropriately.
|
||||
# $CCM_HOME/WEB-INF/log4j2.properties and edit it appropriately.
|
||||
|
||||
# Choose one of the following lines, or make up your own...
|
||||
#log4j.rootCategory=WARN, console, file
|
||||
Loading…
Reference in New Issue