Skip to content

Commit

Permalink
Add session id in log context
Browse files Browse the repository at this point in the history
  • Loading branch information
trecouvr committed Nov 3, 2013
1 parent 80d0eeb commit 710597d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Payutc/Log/ContextProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public function __invoke(array $record)

$record['extra']['user'] = $user;
$record['extra']['application'] = $application;
$record['extra']['session_id'] = session_id();

return $record;
}
Expand Down

0 comments on commit 710597d

Please sign in to comment.