Redirecting standard output
From Resin 3.0
Resin can redirect the output of System.out
and System.err
using the stdout-log and stderr-log tags.
See Also
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>