Re: PerlWarn and syslog

2001-12-21 Thread Lance Uyehara
On Thu, Dec 20, 2001 at 01:59:18PM -0500, Geoffrey Young wrote: If you just print to STDERR you might want to look at Apage::LogSTDERR on CPAN. I took at look on CPAN and was unable to find this module or any reference to it. Any idea if it has been merged into some other

Re: PerlWarn and syslog

2001-12-20 Thread Lance Uyehara
On Thu, Dec 06, 2001 at 02:11:28PM -0800, Lance Uyehara wrote: I am using apache+mod_perl and have: ErrorLog syslog PerlWarn On However the warning don't come out. If I change to ErrorLog /var/log/logfile or something similar then the warning start appearing. How do I get

using CGI::raw_cookie()

2001-12-12 Thread Lance Uyehara
Hi, I'm using a CGI script which makes a call to raw_cookie(). When I run in CGI mode everything works fine, and the cookie which matches $ENV{HTTP_COOKIE} is returned. When I run in mod_perl though, a cookie from a previous CGI instance is returned. I took a look at CGI.pm to see what's going

Re: using CGI::raw_cookie()

2001-12-12 Thread Lance Uyehara
Darren, Thanks for the quick response. Lance Uyehara [EMAIL PROTECTED] said something to this effect on 12/12/2001: I'm using a CGI script which makes a call to raw_cookie(). When I run in CGI mode everything works fine, and the cookie which matches $ENV{HTTP_COOKIE} is returned. What

more info on using CGI::raw_cookie()

2001-12-12 Thread Lance Uyehara
So I put some warns in CGI.pm initialize_globals() to see what the status of the world and if I iterate through %{$DefaultClass}and I had a cookie, then $DefaultClass-{'.raw_cookies'} is still hanging around. I imagine this is why the dosumentation preaches using Apache::Cookie instead of

Re: PerlWarn and syslog

2001-12-07 Thread Lance Uyehara
Since this section ss probably going away, here it is: The syslog solution can be implemented using the following configuration: LogFormat %h %l %u %t \%r\ %s %b common CustomLog | /usr/local/apache/bin/syslogger.pl hostnameX common where a simple Isyslogger.pl can look like this:

PerlWarn and syslog

2001-12-06 Thread Lance Uyehara
I am using apache+mod_perl and have: ErrorLog syslog PerlWarn On However the warning don't come out. If I change to ErrorLog /var/log/logfile or something similar then the warning start appearing. How do I get the warnings when syslog is used? Thanks, Lance