mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-06 09:35:03 +02:00
A bit more logging
This commit is contained in:
parent
c6b009c172
commit
63607618e2
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,7 @@ $server->handle(function (Connection $conn) use ($table, $pool, $c, $log, $permi
|
|||
|
||||
$epp = new EPP\EppWriter();
|
||||
$xml = $epp->epp_writer($response);
|
||||
$log->info('registrar ' . $clID . ' logged in');
|
||||
updateTransaction($pdo, 'login', null, null, 1000, 'Command completed successfully', $svTRID, $xml, $trans);
|
||||
sendEppResponse($conn, $xml);
|
||||
} else {
|
||||
|
@ -203,6 +204,7 @@ $server->handle(function (Connection $conn) use ($table, $pool, $c, $log, $permi
|
|||
|
||||
$epp = new EPP\EppWriter();
|
||||
$xml = $epp->epp_writer($response);
|
||||
$log->info('registrar ' . $clID . ' logged out');
|
||||
updateTransaction($pdo, 'logout', null, null, 1500, 'Command completed successfully; ending session', $svTRID, $xml, $trans);
|
||||
sendEppResponse($conn, $xml);
|
||||
$conn->close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue