1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-03 03:24:15 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Jean Paul Galea
c01c19c860 Add a verify request log line.
- Traditionally we wrote two lines for each ykval-verify.php call,
	'Request:' and 'Response:'.

- This commit allows us to log both request/response values in a single line.

- For backward compatibility, the old logging is kept in place.

- To write this line to syslog, __YKVAL_VERIFY_LOGFORMAT__ needs to be set.
2016-04-18 14:42:57 +02:00
Jean Paul Galea
2df72604ed Cosmetic. 2015-09-10 20:37:24 +02:00
Jean Paul Galea
a1443857f7 Refactor. 2015-09-10 20:35:51 +02:00
Jean Paul Galea
694f5aee32 Refactor. 2015-09-10 20:33:35 +02:00
Jean Paul Galea
d34eb7895f Rename variable. 2015-09-10 20:32:21 +02:00
Jean Paul Galea
5d9459ec5c Rename variable. 2015-09-10 20:31:39 +02:00
Jean Paul Galea
06bf821555 Refactor.
- make it easier to follow,
	create prefix first, then suffix.
2015-09-10 20:30:00 +02:00
Jean Paul Galea
2c5d0a6efa Refactor.
- build separate string from $extra array,
	and append it in syslog call.
2015-09-10 20:28:37 +02:00
Jean Paul Galea
d6433c81ab Rename variable. 2015-09-10 20:25:20 +02:00
Jean Paul Galea
a3421284e1 Refactor. 2015-09-10 20:24:23 +02:00
Jean Paul Galea
f71b81fe6b Refactor.
- init variables as class property,
	no need to init in construct.

- set scopes on private properties,
	and public methods.
2015-09-10 20:17:22 +02:00
Jean Paul Galea
b417759932 Update copyright year. 2015-07-20 20:01:16 +00:00
Jean Paul Galea
de56a03538 Cosmetic changes.
- remove mix of tabs/spaces,
	use tabs everywhere.

- remove mix of double/single quotes,
	use single quotes everywhere unless $var substitution.
2015-07-15 15:26:24 +02:00
Jean Paul Galea
e76c5002f2 Drop php closing tags. 2015-07-15 15:14:25 +02:00
Klas Lindfors
7083c8f625 make sure that we only log strings 2014-09-23 16:46:28 +02:00
Dain Nilsson
ee1f040b00 Updated copyright headers. 2013-02-04 17:39:36 +01:00
Fredrik Thulin
b5976ad3c9 delete-trailing-whitespace 2012-05-29 11:07:19 +02:00
Simon Josefsson
bca5d339cb Use openlog. 2010-01-14 11:56:40 +00:00
Olov Danielson
b3036967a2 Log module logs log_level as well 2010-01-14 11:41:43 +00:00
Olov Danielson
c2245924cf Added possibility to use custom fields in logging module. Also added client IP and otp in verify and sync logs. 2010-01-14 11:25:17 +00:00
Olov Danielson
76f35dd580 ops, ykval-log file needed as well. 2010-01-11 12:07:28 +00:00