Project

General

Profile

« Previous | Next » 

Revision e00fef3e

Added by Andreas Kohlbecker over 1 year ago

logging of remoting requests with duration per default

View differences:

src/main/resources/logback.xml
43 43
    </layout>
44 44
  </appender>
45 45
  
46
  <!-- ~~~~~~ INFO level for all major components ~~~~~~ -->
47
  <logger name="org.eclipse.jetty" level="INFO" />
46 48
  <logger name="eu.etaxonomy.cdm.server" level="INFO" />
47

  
48 49
  <logger name="eu.etaxonomy.cdm" level="INFO" />
50
  
51
  <!-- ~~~~~~ "disabling" loggers unwanted at INFO level ~~~~~~ -->
49 52
  <!-- avoid vast amount of "getCitation not yet implemented" & "getProblems not yet implemented" messages -->
50 53
  <logger name="eu.etaxonomy.cdm.model.name.TaxonNameBase" level="ERROR" />
51 54
  <logger name="eu.etaxonomy.cdm.persistence.dao.initializer" level="ERROR" />
......
59 62
  <logger name="org.hibernate" level="WARN" />
60 63
  <logger name="org.hibernate.search" level="ERROR" />
61 64
  <logger name="org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog" level="ERROR" />
62
  <!--      > supress HHH90000003 -->
65
  <!--  suppress HHH90000003 -->
63 66
  <logger name="org.hibernate.orm.deprecation" level="ERROR" />
64 67
  <!--  connection pool -->
65 68
  <logger name="com.mchange.v2.c3p0" level="WARN" />
66
  
67 69
  <!-- suppress nasty ehcache OutOfMemory warnings -->
68 70
  <logger name="net.sf.ehcache.config.CacheConfiguration" level="WARN" />
69 71
  
70
  <logger name="org.eclipse.jetty" level="INFO" />
71

  
72
  <!-- ~~~~~~ logging of all requests to web service controllers with performance measures ~~~~~~ -->
73
  <logger name="eu.etaxonomy.cdm.api.remoting.DebuggingRemoteInvocationExecutor" level="DEBUG" />
74
  
75
  <!-- ~~~~~~ root logger ~~~~~~ -->
72 76
  <root level="WARN">
73 77
    <appender-ref ref="FILE" />
74
<!--     <appender-ref ref="STDOUT" /> -->
78
<!--  disabled for production : <appender-ref ref="STDOUT" /> -->
75 79
  </root>
76 80
</configuration>

Also available in: Unified diff