From 6e25870046586fea54ba74ae1e673d2ad22eaeae Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 2 Jul 2025 12:09:45 -0600 Subject: chore: add minimal logging --- src/authorization/check_service.rs | 2 ++ 1 file changed, 2 insertions(+) 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, ) -> Result, 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"), ))) -- cgit v1.2.3