server/src/main/resources/log4j.xml
author veltr
Fri, 15 Mar 2013 12:54:36 +0100
changeset 81 555a094e2000
parent 76 523f0647513e
child 106 d34e253f5c32
permissions -rw-r--r--
Changed CSS
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
76
523f0647513e add the count of project by spaces, add pagination, update libraries and add some more unit tests.
ymh <ymh.work@gmail.com>
parents: 71
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone='no' ?>
523f0647513e add the count of project by spaces, add pagination, update libraries and add some more unit tests.
ymh <ymh.work@gmail.com>
parents: 71
diff changeset
     2
<!DOCTYPE log4j:configuration>
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  <appender name="console" class="org.apache.log4j.ConsoleAppender"> 
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    <param name="Target" value="System.out"/> 
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
    <layout class="org.apache.log4j.PatternLayout"> 
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
     8
      <param name="ConversionPattern" value="%d{ABSOLUTE} %5p %t %c{2}:%L - %m%n"/> 
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    </layout> 
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    10
  </appender>
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
  <logger name="org.iri_research.renkan">
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    <level value="DEBUG" />
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
  </logger>
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    14
  <logger name="org.eclipse.jetty.util.log">
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    15
    <level value="INFO" />
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    16
  </logger>
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    17
  <logger name="org.springframework.beans.factory">
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    18
      <level value="DEBUG" />
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    19
  </logger>
58
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 54
diff changeset
    20
  <!--logger name="org.cometd">
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 54
diff changeset
    21
      <level value="DEBUG" />
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 54
diff changeset
    22
  </logger-->
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
  <root> 
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
    <priority value ="WARN" /> 
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
    <appender-ref ref="console" /> 
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
  </root>
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    27
 <!--
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    28
log4j.rootCategory=INFO, stdout
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    29
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    30
log4j.appender.stdout=org.springframework.data.document.mongodb.log4j.MongoLog4jAppender
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    31
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    32
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    33
log4j.appender.stdout.host = localhost 
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    34
log4j.appender.stdout.port = 27017
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    35
log4j.appender.stdout.database = logs
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    36
log4j.appender.stdout.collectionPattern = %X{year}%X{month}
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    37
log4j.appender.stdout.applicationId = my.application
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    38
log4j.appender.stdout.warnOrHigherWriteConcern = FSYNC_SAFE
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    39
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    40
log4j.category.org.apache.activemq=ERROR
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    41
log4j.category.org.springframework.batch=DEBUG
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    42
log4j.category.org.springframework.data.document.mongodb=DEBUG
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    43
log4j.category.org.springframework.transaction=INFO
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    44
-->
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
  
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    46
</log4j:configuration>
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    47