summaryrefslogtreecommitdiff
path: root/src/authorization/check_service.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/authorization/check_service.rs')
-rw-r--r--src/authorization/check_service.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/authorization/check_service.rs b/src/authorization/check_service.rs
index 57f7b5d5..f8c7577f 100644
--- a/src/authorization/check_service.rs
+++ b/src/authorization/check_service.rs
@@ -23,10 +23,8 @@ 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"),
)))