Log
From Resin 3.0
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>