--- loncom/loncnew 2017/02/28 05:42:06 1.101 +++ loncom/loncnew 2018/06/24 18:45:18 1.104 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.101 2017/02/28 05:42:06 raeburn Exp $ +# $Id: loncnew,v 1.104 2018/06/24 18:45:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -611,7 +611,7 @@ sub CompleteTransaction { StartClientReply($Transaction, $data); } else { # Delete deferred transaction file. Log("SUCCESS", "A delayed transaction was completed"); - LogPerm("S:".$Transaction->getClient().":".$Transaction->getRequest()); + LogPerm("S:".$Socket->PeerLoncapaHim().":".$Transaction->getRequest()); unlink($Transaction->getFile()); } } @@ -2235,8 +2235,8 @@ sub Terminate { } sub my_hostname { - use Sys::Hostname; - my $name = &hostname(); + use Sys::Hostname::FQDN(); + my $name = Sys::Hostname::FQDN::fqdn(); &Debug(9,"Name is $name"); return $name; }