Log

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Configuration]]
 
[[Category:Configuration]]
 +
 +
= Log Names =
 +
 +
{| class="tags"
 +
! name || description
 +
|-
 +
|| com.caucho.server.webapp || web-app logs
 +
|}
  
 
= Specifying Logs For Different Environments =
 
= Specifying Logs For Different Environments =
Line 8: Line 16:
  
 
  <web-app xmlns="http://caucho.com/ns/resin">
 
  <web-app xmlns="http://caucho.com/ns/resin">
     <log name="com.caucho.server.webapp.Application"
+
     <log name="com.caucho.server.webapp"
             level="fine"
+
             level="warning"
 
             path="WEB-INF/logs/error-log"/>
 
             path="WEB-INF/logs/error-log"/>
 
   
 
   
 
   ...
 
   ...
 
  </web-app>
 
  </web-app>

Revision as of 17:02, 3 January 2006


Log Names

name description
com.caucho.server.webapp web-app logs

Specifying Logs For Different Environments

Resin lets you configure individual logs for each environment, e.g. separate logs for <web-app> or <host>. To enable the logs, just add the <log> tag in the environment.

resin-web.xml

<web-app xmlns="http://caucho.com/ns/resin">
   <log name="com.caucho.server.webapp"
           level="warning"
           path="WEB-INF/logs/error-log"/>

  ...
</web-app>
Personal tools