Small changes that hopefully change things regarding log4j2.

Using ccm-lcs-bundle/bundles/standard there are no errors reported while compiling, deploying or running the application.

git-svn-id: https://svn.libreccm.org/ccm/trunk@5199 8810af33-2d31-482b-a856-94f89814c4df
master
baka 2018-01-17 17:17:56 +00:00
parent bb00f2b801
commit bef9682eb6
3 changed files with 18 additions and 18 deletions

View File

@ -53,8 +53,8 @@
unless="this.deploy.dir" />
<!-- deploy the log4j configuration file into the web applications
document root tree -->
<copy todir="${this.deploy.dir}/WEB-INF"
file="${src.dir}/log4j2.xml"/>
<!--copy todir="${this.deploy.dir}/WEB-INF"
file="${src.dir}/log4j2.xml"/-->
<!-- project.xml moved to bundle cfg directory where it replaces
former application.cfg -->
<xslt style="${ccm.tools.xsl.dir}/build-version.xsl"

Binary file not shown.

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="ALL">
<Appenders>
<configuration status="DEBUG">
<appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
<File name="Logfile" fileName="logs/error.log">
<File name="ErrorLog" fileName="logs/error.log">
<PatternLayout pattern="%d{yyyy-mm-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>
</Appenders>
</appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Console" level="warn"/>
<AppenderRef ref="Logfile" level="error"/>
</Root>
</Loggers>
</Configuration>
<loggers>
<root level="debug">
<appender-ref ref="Console" level="warn"/>
<appender-ref ref="ErrorLog" level="error"/>
</root>
</loggers>
</configuration>