Log

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
Line 11: Line 11:
 
             level="fine"
 
             level="fine"
 
             path="WEB-INF/logs/error-log"/>
 
             path="WEB-INF/logs/error-log"/>
 
+
 
   ...
 
   ...
 
  </web-app>
 
  </web-app>

Revision as of 16:58, 3 January 2006


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.Application"
           level="fine"
           path="WEB-INF/logs/error-log"/>

  ...
</web-app>
Personal tools