mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
Timestamp requests.
This commit is contained in:
parent
81255ecf24
commit
069092fd6b
3
NEWS
3
NEWS
@ -1,5 +1,8 @@
|
||||
* Version 2.7 unreleased
|
||||
|
||||
* Record complete timestamp when request is received
|
||||
(syslog doesn't record year nor sub-second resolution).
|
||||
|
||||
* Version 2.6 released 2010-08-02
|
||||
|
||||
* Don't use rowCount in ykval-revoke, there seems to be some problem
|
||||
|
@ -9,8 +9,8 @@ header("content-type: text/plain");
|
||||
|
||||
$myLog = new Log('ykval-verify');
|
||||
$myLog->addField('ip', $_SERVER['REMOTE_ADDR']);
|
||||
$myLog->log(LOG_INFO, "Request: " . $_SERVER['QUERY_STRING']);
|
||||
|
||||
$myLog->log(LOG_INFO, "Request: " . $_SERVER['QUERY_STRING'] .
|
||||
" (at " . date("c") . " " . microtime() . ")");
|
||||
|
||||
/* Detect protocol version */
|
||||
if (preg_match("/\/wsapi\/([0-9]+)\.([0-9]+)\//", $_SERVER['REQUEST_URI'], $out)) {
|
||||
|
Loading…
Reference in New Issue
Block a user