Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] reenabled log output for taskmodel-core-view

  • Loading branch information...
commit 9816e05d9f3863e1a54f53ba1be5a621dd64935b 1 parent 4d8e51d
@smee authored
View
8 examServer/src/main/resources/examserverLog4j.properties
@@ -1,17 +1,12 @@
# This is the configuring for logging displayed in the Application Server
log4j.rootLogger=INFO, stdout, R
-# Replace the line above if you want to put a log file into the directory
-# you start Tomcat from
-# log4j.rootCategory=INFO, stdout, R
-
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=[examServer] %d %p [%t] %c{1}.%M(%L) | %m%n
log4j.appender.R.layout.ConversionPattern=[examServer] %d %p [%t] %c{1}.%M(%L) | %m%n
-
log4j.appender.R=org.apache.log4j.RollingFileAppender
# You can change this to be an absolute path or even an environment variable
@@ -25,7 +20,6 @@ log4j.appender.R.MaxFileSize=10000KB
# Don't keep a backup file
log4j.appender.R.MaxBackupIndex=3
-
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
@@ -37,7 +31,6 @@ log4j.appender.mail.SMTPHost=@ERROR-MAILHOST@
log4j.appender.mail.Threshold=ERROR
log4j.appender.mail.BufferSize=1
log4j.appender.mail.Subject=[@ERROR-SERVER@] examServer Application Error
-
log4j.appender.mail.layout=org.apache.log4j.PatternLayout
log4j.appender.mail.layout.ConversionPattern=%d %-5p %c %x - %m%n
@@ -76,4 +69,5 @@ log4j.appender.TaskLogger.layout.conversionPattern=%d %p %C{1} %X{client} \: %m%
log4j.appender.TaskLogger.append=true
log4j.appender.RemoteLogger=org.apache.log4j.net.SocketHubAppender
+# TODO make port configurable
log4j.appender.RemoteLogger.port=4560
View
6 taskmodel/pom.xml
@@ -86,12 +86,6 @@
<type>jar</type>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- <scope>provided</scope>
- </dependency>
</dependencies>
<developers>
<developer>
View
11 taskmodel/taskmodel-core-view/pom.xml
@@ -61,6 +61,17 @@
<version>1.6.1</version>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.1</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.16</version>
+ </dependency>
<!-- Apache commons -->
<dependency>
<groupId>commons-lang</groupId>
View
0  taskmodel/taskmodel-core/pom.xml 100644 → 100755
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.