Skip to content

Commit

Permalink
loggging: adjust log level (#1830)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangKian authored Jul 10, 2024
1 parent a21a839 commit 192685e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hstream/src/HStream/Server/Handler/Cluster.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ lookupResourceHandler
-> IO (ServerResponse 'Normal ServerNode)
lookupResourceHandler sc@ServerContext{..} (ServerNormalRequest _meta req@LookupResourceRequest{..}) =
defaultExceptionHandle $ do
Log.info $ "receive lookup resource request: " <> Log.build (show req)
Log.debug $ "receive lookup resource request: " <> Log.build (show req)
case lookupResourceRequestResType of
Enumerated (Right rType) -> do
validateResourceIdAndThrow rType lookupResourceRequestResId
Expand Down Expand Up @@ -112,7 +112,7 @@ handleDescribeCluster sc _ _ = catchDefaultEx $ C.describeCluster sc

handleLookupResource :: ServerContext -> G.UnaryHandler LookupResourceRequest ServerNode
handleLookupResource sc@ServerContext{..} _sc req@LookupResourceRequest{..} = catchDefaultEx $ do
Log.info $ "receive lookup resource request: " <> Log.build (show req)
Log.debug $ "receive lookup resource request: " <> Log.build (show req)
case lookupResourceRequestResType of
Enumerated (Right rType) -> do
validateResourceIdAndThrow rType lookupResourceRequestResId
Expand Down

0 comments on commit 192685e

Please sign in to comment.