Skip to content

Commit

Permalink
Log OIDC messages to security log
Browse files Browse the repository at this point in the history
All log messages of this package are now logged to Flow's security log (`Security.log`) instead of using the standard system log (`System.log`).

Resolves #47
  • Loading branch information
robertlemke committed Aug 25, 2022
1 parent 2c3dc6f commit fd59ca1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Authentication/OpenIdConnectEntryPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
final class OpenIdConnectEntryPoint extends AbstractEntryPoint
{
/**
* @Flow\Inject
* @Flow\Inject(name="Neos.Flow:SecurityLogger")
* @var LoggerInterface
*/
protected $logger;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Authentication/OpenIdConnectProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class OpenIdConnectProvider extends AbstractProvider
protected $policyService;

/**
* @Flow\Inject
* @Flow\Inject(name="Neos.Flow:SecurityLogger")
* @var LoggerInterface
*/
protected $logger;
Expand Down
2 changes: 1 addition & 1 deletion Classes/OpenIdConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final class OpenIdConnectClient
protected $httpClient;

/**
* @Flow\Inject
* @Flow\Inject(name="Neos.Flow:SecurityLogger")
* @var LoggerInterface
*/
protected $logger;
Expand Down

0 comments on commit fd59ca1

Please sign in to comment.