Redirecting standard output

From Resin 3.0

Revision as of 16:16, 7 November 2005 by 70.231.165.244 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Resin can redirect the output of System.out and System.err using the stdout-log and stderr-log tags.

See Also

Log Rollover

Example

<resin xmlns="http://caucho.com/ns/resin">
  <stdout-log path="log/stdout.log" timestamp="\[%Y-%m-%d %H:%M:%S] "
              rollover-period="1W"/>
  <stderr-log path="log/stderr.log" timestamp="\[%Y-%m-%d %H:%M:%S] "
              rollover-period="1W"/>
  ...
</resin>
Personal tools