-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
RJ Herrick wrote:
> What would be the easiest way to tee the output from mason to a log
> and still deliver to apache as usual? I'm using a CGIhandler.
Rewrite HTML::Mason::Request's "out_method" method. Something like:
out_method => sub {
$log->debug($_[0]);
print STDOUT $_[0];
}
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----
iD8DBQFEZZJRtZHp/AYZiNkRAu+NAKCSZLX2Qtu8/C1TX7W0BpywgGItlwCfbSS4
C9llvVoK1DNAyfHLsRbHX7I=
=/NEN
-----END PGP SIGNATURE-----
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users