I'm not sure I get you right else maybe you can reformulate your desire :-).
Yes could could write an output-filter which logs everything you are sending to a browser e.g. to a file on the system.
See http://perl.apache.org/docs/2.0/user/handlers/filters.html#Output_Filters
Tom
Jain, Abhay K, ALABS wrote:
I must apologize if it is not directly relevant to mod-perl. I have tried to search google and other places but no luck. As I had mentioned I have apache built with mod-perl 2. Some old cgi scripts were written in ksh and use of set -x produced complete output in browser window under Netscape. While Apache seem to ignore stderr. Is there any way I can get that output sent to the browser under Apache. Thanks.