diff options
Diffstat (limited to 'src/authorization')
| -rw-r--r-- | src/authorization/check_service.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/authorization/check_service.rs b/src/authorization/check_service.rs index f8c7577f..57f7b5d5 100644 --- a/src/authorization/check_service.rs +++ b/src/authorization/check_service.rs @@ -23,8 +23,10 @@ impl envoy_types::ext_authz::v3::pb::Authorization for CheckService { request: Request<CheckRequest>, ) -> Result<Response<CheckResponse>, Status> { if self.authorizer.authorize(request.into_inner()) { + log::info!("OK"); Ok(Response::new(CheckResponse::with_status(Status::ok("OK")))) } else { + log::info!("Unauthorized"); Ok(Response::new(CheckResponse::with_status( Status::unauthenticated("Unauthorized"), ))) |
