Welcome! Log In Create A New Profile

Advanced

Logging embedded Perl return value

All files from this thread

File Name File Size   Posted by Date  
patch.any_status 8.5 KB open | download Igor Sysoev 04/10/2009 Read message
April 08, 2009 11:41PM
I'm testing the embedded perl module. Is it possible to log the return value?

i.e. can I set $return to capture the return value of the handler in this example?

log_format main 'Return value is $return';

access_log /path/to/access.log main;

server {
location / {
perl Module::handler;
}
}
Subject Author Posted

Logging embedded Perl return value

davidc April 08, 2009 11:41PM

Re: Logging embedded Perl return value

Igor Sysoev April 09, 2009 01:16AM

Re: Logging embedded Perl return value

davidc April 09, 2009 04:54AM

Re: Logging embedded Perl return value Attachments

Igor Sysoev April 10, 2009 06:33AM

Re: Logging embedded Perl return value

davidc July 07, 2009 05:59AM

Re: Logging embedded Perl return value

davidc July 07, 2009 11:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready