chore: tidy up logging
Adjust log levels for messages, move data from free-form text field into extra fields (even if still in free-form text form, as debug formatted Rust values), and other related changes.
Signed-off-by: Lars Wirzenius liw@liw.fi
6 files changed
+57
-61
6dc8f8e2
→
162d8034
modified ci-broker.md
@@ -849,7 +849,7 @@ when I run cibtool --db ci-broker.db event shutdown
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/ci_event.rs
@@ -14,8 +14,6 @@ use radicle::{
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -188,11 +186,8 @@ impl CiEvent {
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| - | |
|
|
|
|
|
modified src/ci_event_source.rs
@@ -23,7 +23,7 @@ impl CiEventSource {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/logger.rs
@@ -125,14 +125,14 @@ pub fn end_cib_in_error() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -141,18 +141,18 @@ pub fn node_event_source_got_event(event: &Event) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -160,7 +160,7 @@ pub fn ci_event_source_got_events(events: &[CiEvent]) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,15 +175,15 @@ pub fn ci_event_source_eof(source: &CiEventSource) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -199,15 +199,15 @@ pub fn queueproc_queue_length(len: usize) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -222,8 +222,8 @@ pub fn queueadd_control_socket_close() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -235,7 +235,7 @@ pub fn pages_directory_unset() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -263,7 +263,7 @@ pub fn event_end() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -273,7 +273,7 @@ pub fn broker_start_run(trigger: &Request) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -305,7 +305,7 @@ pub fn adapter_did_not_exit() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -380,58 +380,59 @@ pub fn timeoutcmd_nanny_ends() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -439,17 +440,17 @@ pub fn timeoutcmd_nonblocking_tried_byte(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -457,17 +458,17 @@ pub fn timeoutcmd_nonblocking_got_too_much(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/node_event_source.rs
@@ -46,7 +46,7 @@ impl NodeEventSource {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -73,7 +73,7 @@ impl NodeEventSource {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/queueadd.rs
@@ -65,7 +65,7 @@ impl QueueAdder {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|