Redirecting standard output

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
m (Redirecting Standard Output moved to Redirecting standard output)
 

Latest revision as of 04:16, 14 February 2006


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

[edit] See Also

Log Rollover

[edit] 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