We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6412048 commit ba99012Copy full SHA for ba99012
sentry-log/src/converters.rs
@@ -154,7 +154,7 @@ pub fn log_from_record(record: &log::Record<'_>) -> Log {
154
attributes.insert("logger.line".into(), line.into());
155
}
156
157
- attributes.insert("sentry.origin".into(), "auto.logger.log".into());
+ attributes.insert("sentry.origin".into(), "auto.log.log".into());
158
159
Log {
160
level: convert_log_level_to_sentry_log_level(record.level()),
sentry/tests/test_log_logs.rs
@@ -51,7 +51,7 @@ fn test_log_logs() {
51
);
52
assert_eq!(
53
info_log.attributes.get("sentry.origin").unwrap().clone(),
54
- "auto.logger.log".into()
+ "auto.log.log".into()
55
56
57
_ => panic!("expected logs"),
0 commit comments