Return to switchserver.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.51, 2020/10/22 19:23:22 | version 1.52, 2020/12/18 15:23:03 |
---|---|
Line 211 sub handler { | Line 211 sub handler { |
} else { | } else { |
$logmsg .= " (no role)"; | $logmsg .= " (no role)"; |
} | } |
$logmsg .= ' '.$ENV{'REMOTE_ADDR'}; | my $ip = &Apache::lonnet::get_requestor_ip(); |
$logmsg .= ' '.$ip; | |
&Apache::lonnet::log($env{'user.domain'},$env{'user.name'}, | &Apache::lonnet::log($env{'user.domain'},$env{'user.name'}, |
$env{'user.home'},$logmsg); | $env{'user.home'},$logmsg); |