Commit Graph
13 Commits
Author SHA1 Message Date
Lars Wirzenius 2bae93c019 feat: log each kind of unhandled event once per run
Also raise to debug level so they're not so hidden.
2026-06-30 09:46:28 +03:00
Lars Wirzenius e90dfebdde refactor: avoid exposing types from dependencies in error types 2025-12-10 14:10:09 +02:00
Lars Wirzenius 6bcf814004 chore: format code
Because we now use edition 2024, the default formatting by rustfmt is
different. Update the formatting, without any other changes, by running
`cargo fmt`.
2025-10-10 09:02:09 +03:00
Lars Wirzenius 16e534d2fb chore: switch serde YAML parsing to serde-norway
serde-yaml was orphaned, so I switched to serde-yml, which is now
unmaintained and depends on libyml with a security issue. The new
replacement seems to be serde-norway.

May be worth thinking about not using YAML in the future.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-09-15 09:05:38 +03:00
Lars Wirzenius 883cae63a4 fix: improve error message for the node connection being broken
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-07-29 18:24:35 +03:00
Lars Wirzenius 6ef5675a2a feat: reduce log spam
Don't log unstructured messages from various places in processing
events and the execution of a CI run. I think these are unnecessary
messages anyway, by now. If it turns out we need them, we'll add them
back as structured log messages.

Drop the now-unused logger::debug, debug2, trace, and trace2
functions, may the never return.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-03-24 11:37:59 +02:00
Lars Wirzenius 162d80347c 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>
2024-12-05 12:34:13 +02:00
Lars Wirzenius 0ac3b62301 fix: change how NodeEventSource treats closed connection
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-10-08 17:18:00 +03:00
Lars Wirzenius 593cedeaad feat: log NodeEventSource EOF
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-10-08 14:29:22 +03:00
Lars Wirzenius d2324ca652 feat: log received node events
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-10-08 14:21:54 +03:00
Lars Wirzenius 21b14a2328 feat: log when a NodeSourceEvent is created
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-10-08 14:14:11 +03:00
Lars Wirzenius f147c77d32 chore: drop old broker event code, which isn't used anymore
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-09-30 14:01:03 +03:00
Lars Wirzenius 5017e2cc77 refactor: rename module to have a clearer name
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-09-13 10:12:32 +03:00