Ismael Touama wrote:
>
> Hi,
>
> hope that's not off topic.
> When global.asa write into my log file.
> It puts the line as an error...
> with a number that seemes to be an identifier.
> (not the SessionID).
> Is someone know an issue about that ?
> I try to understand how the global.asa get working.
>
Yes, $Response->AppendToLog uses the Apache->log_error()
API so there is an [error] code in the output. The identifier
that you refer to is likely $$ or the process id of the current
apache process handling the request, here's the core code for this:
sub Log {
my($self, @msg) = @_;
my $msg = join(" ", @msg);
$msg =~ s/[\r\n]+/ \<\-\-\> /sg;
if($self->{r}) {
$self->{r}->log_error("[asp] [$$] $msg");
} else {
print STDERR "[WARN] [asp] [$$] [Invalid ASP Object $self] $msg\n";
}
}
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]