|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5799 | minor | always | 09-17-14 09:43 | 11-03-14 17:16 | |
|
|
|||||
| Reporter: | ferg | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.37 | ||
| Product Build: | Resolution: | no change required | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.42 | ||
|
|
|||||
| Summary: | 0005799: stdout redirection issues | ||||
| Description: |
(rep by Igor Egorov) I would like to redirect stdout stream to file by using 'stdout-log' configuration (on web-app level) with specified 'rollover-count' and 'rollover-size' properties in resin-pro-4.0.37. The important point is that deployed web applications are using logback loggers (each application has it's own logback context) with their console appenders to perform logging in stdout. Also I have to define external logback configuration file to support logging in deployed resource-adapter using logback as well. <web-app xmlns="http://caucho.com/ns/resin" [^] xmlns:resin="urn:java:com.caucho.resin"> <!-- Resource Adapter --> <resource-deploy path="${RESOURCES_LIB_PATH}" expand-path="${GLIBS_APP_HOME}/resources"/> <resource-adapter class="org.apache.activemq.ra.ActiveMQResourceAdapter" jndi-name="ActiveMQResourceAdapter"> <init server-url="${ACTIVE_MQ_SERVER_URL}"/> </resource-adapter> <!-- ... --> <stdout-log path="${GLIBS_APP_HOME}/logs/resin_out.log" rollover-size="100mb" rollover-count="2"/> <!-- ... --> </web-app> |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||