We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63ce858 commit 92cd43fCopy full SHA for 92cd43f
tracing-journald/src/lib.rs
@@ -64,8 +64,8 @@ mod socket;
64
///
65
/// - `ERROR` => Error (3)
66
/// - `WARN` => Warning (4)
67
-/// - `INFO` => Notice (5)
68
-/// - `DEBUG` => Informational (6)
+/// - `INFO` => Informational (6)
+/// - `DEBUG` => Debug (7)
69
/// - `TRACE` => Debug (7)
70
71
/// The standard journald `CODE_LINE` and `CODE_FILE` fields are automatically emitted. A `TARGET`
@@ -344,9 +344,8 @@ fn put_priority(buf: &mut Vec<u8>, meta: &Metadata) {
344
match *meta.level() {
345
Level::ERROR => b"3",
346
Level::WARN => b"4",
347
- Level::INFO => b"5",
348
- Level::DEBUG => b"6",
349
- Level::TRACE => b"7",
+ Level::INFO => b"6",
+ Level::DEBUG | Level::TRACE => b"7",
350
},
351
);
352
}
0 commit comments