[RADIATOR] Additional logging in AuthGROUP
Markus Moeller
huaraz at moeller.plus.com
Wed Nov 17 13:07:13 CST 2010
Would it be possible to add additional DEBUG logging to AuthGROUP, so that any individual Authby result will be logged ?
Thank you
Markus
# Try all the authenticators in sequence until the AuthByPolicy
# is satisfied
# CAUTION: The handler might fork
my ($handler, $reason);
foreach $handler (@{$self->{AuthBy}})
{
# Make sure the authby is updated with stats
push(@{$p->{StatsTrail}}, \%{$handler->{Statistics}});
($handled, $reason) = $handler->handle_request($p, $p->{rp}, $extra_checks);
# Evaluate the AuthByPolicy
$self->log($main::LOG_DEBUG, "$type:$self->{Identifier} $handler->{Identifier} result: $Radius::AuthGeneric::reasons[$handled], $reason", $p);
last unless $self->evaluatePolicy($self->{AuthByPolicy},$handled);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20101117/c618fc62/attachment.html
More information about the radiator
mailing list