Skip to content

Commit

Permalink
instr(server): Downgrade noisy warnings (#4092)
Browse files Browse the repository at this point in the history
These two warnings dominate our logs.
  • Loading branch information
jjbayer authored Oct 2, 2024
1 parent 4fc8ee8 commit 9f45b02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions relay-profiling/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub fn parse_metadata(payload: &[u8], project_id: ProjectId) -> Result<ProfileId
let _: android::ProfileMetadata = match serde_path_to_error::deserialize(d) {
Ok(profile) => profile,
Err(err) => {
relay_log::warn!(
relay_log::debug!(
error = &err as &dyn Error,
from = "metadata",
platform = "android",
Expand Down Expand Up @@ -184,7 +184,7 @@ pub fn expand_profile(payload: &[u8], event: &Event) -> Result<(ProfileId, Vec<u
Err(ProfileError::InvalidJson(err))
}
_ => {
relay_log::warn!(
relay_log::debug!(
error = &err as &dyn Error,
from = "parsing",
platform = profile.platform,
Expand Down
2 changes: 1 addition & 1 deletion relay-server/src/services/processor/replay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn handle_replay_event_item(
if *segment_id > 720 {
metric!(counter(RelayCounters::ReplayExceededSegmentLimit) += 1);

relay_log::warn!(
relay_log::debug!(
event_id = ?config.event_id,
project_id = config.project_id.map(|v| v.value()),
organization_id = config.organization_id,
Expand Down

0 comments on commit 9f45b02

Please sign in to comment.