fix(logging): remove guardrail script trailing whitespace (#3424)

This commit is contained in:
安正超
2026-06-14 08:35:59 +08:00
committed by GitHub
parent efa89a98ed
commit bed875d3e0
+6 -6
View File
@@ -389,7 +389,7 @@ forbidden_patterns=(
'warn!("file looks like a private key but failed to decode (passphrase-protected keys are not supported)"'
'debug!("not a valid private key, skipping"'
'info!("host key loading complete"'
'warn!("SFTP host key file permission enforcement is not active on Windows.'
'warn!("SFTP host key file permission enforcement is not active on Windows.'
'info!("Dial9 telemetry disabled"'
'info!("Validating dial9 telemetry configuration"'
'warn!("Failed to create dial9 output directory '\''{}'\'': {}"'
@@ -419,21 +419,21 @@ forbidden_patterns=(
'debug!("Log directory does not exist: {:?}"'
'info!("Found {} regular log files, total size: {} bytes ({:.2} MB)"'
'info!("Cleanup completed: deleted {} files, freed {} bytes ({:.2} MB)"'
'warn!(file = ?file.path, error = %err, "parallel compression failed"'
'warn!(file = ?file.path, error = %err, "parallel compression failed"'
'warn!("parallel compression worker panicked, falling back to serial path"'
'info!("parallel cleanup finished"'
'warn!(file = ?file.path, error = %err, "serial compression failed, source kept"'
'warn!(file = ?file.path, error = %err, "serial compression failed, source kept"'
'info!("[DRY RUN] Would delete: {:?} ({} bytes)"'
'debug!("Deleted: {:?}"'
'error!("Failed to delete {:?}: {}"'
'warn!("zstd compression failed, fallback to gzip"'
'debug!(file = ?archive_path, "compressed archive already exists, skipping"'
'debug!(file = ?archive_path, "compressed archive already exists, skipping"'
'info!("[DRY RUN] Would compress file: {:?} -> {:?}"'
'debug!("compression finished"'
'debug!("Excluding file from cleanup: {:?}"'
'tracing::warn!("Failed to delete empty file {:?}: {}"'
'tracing::warn!("Failed to delete empty file {:?}: {}"'
'debug!("Deleted empty file: {:?}"'
'tracing::info!("[DRY RUN] Would delete empty file: {:?}"'
'tracing::info!("[DRY RUN] Would delete empty file: {:?}"'
'warn!("Failed to load data usage from backend: {}"'
'warn!("Failed to list buckets for cluster metrics: {}"'
'warn!("Failed to load data usage for bucket metrics: {}"'