Revision: 3056
Author: olavmrk
Date: Wed Mar 21 05:29:15 2012
Log: core:idp:logout-iframe: Log new statistics.
http://code.google.com/p/simplesamlphp/source/detail?r=3056
Modified:
/trunk/modules/core/www/idp/logout-iframe-done.php
/trunk/modules/core/www/idp/logout-iframe.php
=======================================
--- /trunk/modules/core/www/idp/logout-iframe-done.php Mon Nov 29 04:17:15
2010
+++ /trunk/modules/core/www/idp/logout-iframe-done.php Wed Mar 21 05:29:15
2012
@@ -12,10 +12,12 @@
if (!isset($_REQUEST['cancel'])) {
SimpleSAML_Logger::stats('slo-iframe done');
+ SimpleSAML_Stats::log('core:idp:logout-iframe:page', array('type'
=> 'done'));
$SPs = $state['core:Logout-IFrame:Associations'];
} else {
/* User skipped global logout. */
SimpleSAML_Logger::stats('slo-iframe skip');
+ SimpleSAML_Stats::log('core:idp:logout-iframe:page', array('type'
=> 'skip'));
$SPs = array(); /* No SPs should have been logged out. */
$state['core:Failed'] = TRUE; /* Mark as partial logout. */
}
@@ -52,6 +54,7 @@
$spId = $assocId;
}
SimpleSAML_Logger::stats('slo-iframe-fail ' . $spId);
+ SimpleSAML_Stats::log('core:idp:logout-iframe:spfail', array('sp' =>
$spId));
$state['core:Failed'] = TRUE;
}
=======================================
--- /trunk/modules/core/www/idp/logout-iframe.php Wed Sep 14 01:14:50 2011
+++ /trunk/modules/core/www/idp/logout-iframe.php Wed Mar 21 05:29:15 2012
@@ -16,6 +16,7 @@
if ($type !== 'embed' && $type !== 'async') {
SimpleSAML_Logger::stats('slo-iframe ' . $type);
+ SimpleSAML_Stats::log('core:idp:logout-iframe:page', array('type' =>
$type));
}
$state = SimpleSAML_Auth_State::loadState($id, 'core:Logout-IFrame');
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
To unsubscribe from this group, send email to
simplesamlphp-commits+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.