Log

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Configuration]]
 
[[Category:Configuration]]
 +
 +
= Tags =
 +
 +
{| class="tags"
 +
! name || description || default
 +
|-
 +
|| name || identifier for the log || required
 +
|-
 +
|| level || logging level for the log || info
 +
|-
 +
|| path || location for the log file || required
 +
|-
 +
|| timestamp || timestamp format || none
 +
|}
  
 
= Log Names =
 
= Log Names =

Revision as of 17:04, 3 January 2006


Contents

Tags

name description default
name identifier for the log required
level logging level for the log info
path location for the log file required
timestamp timestamp format none

Log Names

name description
com.caucho.server.host <host> logs
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