Move default log4j.properties to application

Thus they can be reused by other servers. Some changes in the format
of the messages.

FEA: ItEr74S08DeployFramework
This commit is contained in:
Óscar González Fernández 2011-05-22 17:29:34 +02:00
parent eaf17f75b9
commit 75c355f9db
2 changed files with 1 additions and 10 deletions

View file

@ -1,4 +1,3 @@
et root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=INFO, A1 log4j.rootLogger=INFO, A1
# A1 is set to be a ConsoleAppender. # A1 is set to be a ConsoleAppender.
@ -6,5 +5,4 @@ log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout. # A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n log4j.appender.A1.layout.ConversionPattern=%-5p [%d{dd-MMMM HH:mm:ss}] [%t] %c %x - %m%n

View file

@ -609,7 +609,6 @@
<directory>../src/main/jetty</directory> <directory>../src/main/jetty</directory>
<includes> <includes>
<include>jetty-env.xml</include> <include>jetty-env.xml</include>
<include>log4j.properties</include>
</includes> </includes>
<targetPath>../jetty</targetPath> <targetPath>../jetty</targetPath>
<filtering>true</filtering> <filtering>true</filtering>
@ -751,12 +750,6 @@
</connector> </connector>
</connectors> </connectors>
--> -->
<systemProperties>
<systemProperty>
<name>log4j.configuration</name>
<value>file:./target/jetty/log4j.properties</value>
</systemProperty>
</systemProperties>
</configuration> </configuration>
<dependencies> <dependencies>