Skip to content

Commit 0595553

Browse files
nipunn1313Convex, Inc.
authored and
Convex, Inc.
committed
Rather than reading from block_logging, just use deployment_type (#25615)
GitOrigin-RevId: e479bc4aedd77130ca3a82b136a1fb87a42be7a1
1 parent 17bf972 commit 0595553

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/application/src/log_visibility.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ use common::{
66
use database::Transaction;
77
use keybroker::Identity;
88

9-
/// Public trait for handling logging visibility.
9+
/// Trait for handling logging visibility.
1010
#[async_trait]
1111
pub trait LogVisibility<RT: Runtime>: Send + Sync {
12+
/// If true, then block logging from reaching clients unless they have
13+
/// admin authorization.
1214
async fn should_redact_logs_and_error(
1315
&self,
1416
tx: &mut Transaction<RT>,

0 commit comments

Comments
 (0)