Skip to content

Commit

Permalink
CIL-507 Output special log messages for XSEDE log analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed Sep 17, 2018
1 parent 0249162 commit 47e35be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Service/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2210,6 +2210,9 @@ public static function generateP12()
$p12 = (time()+300) . " " . $p12link;
Util::setSessionVar('p12', $p12);
$log->info('Generated New User Certificate="'.$p12link.'"');
//CIL-507 Special Log Message For XSEDE
$log->info('USAGE email="' .
Util::getSessionVar('emailaddr') . '" client="PKCS12"');
} else { // Empty or missing usercred.p12 file - shouldn't happen!
Util::setSessionVar(
'p12error',
Expand Down

0 comments on commit 47e35be

Please sign in to comment.