feat: make INFO log messages for a typical CI run easier to follow
Drop several messages to DEBUG level, since they’re really meant for CI broker developer debugging. At INFO level they obscure the log story.
Changed run id to be logged as a string, not debug.
Added broker run ID to run start and end messages, for clarity.:q
2 files changed
+26
-29
24c95c85
→
c60c427e
modified src/broker.rs
@@ -83,7 +83,7 @@ impl Broker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -154,7 +154,7 @@ impl Broker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/logger.rs
@@ -124,7 +124,6 @@ enum Id {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -375,7 +374,7 @@ pub fn ci_event_source_got_events(events: &[CiEvent]) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -383,7 +382,7 @@ pub fn ci_event_source_disconnected() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -426,7 +425,7 @@ pub fn queueproc_end(result: &Result<(), QueueError>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -452,7 +451,7 @@ pub fn queueproc_end_result_receiver() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -501,17 +500,18 @@ pub fn queueproc_predicate_decision(event: &CiEvent, filter: &EventFilter, allow
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -547,7 +547,7 @@ pub fn queueproc_thread_join() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -565,7 +565,7 @@ pub fn queueproc_processed_event(result: &Result<MaybeShutdown, QueueError>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -574,7 +574,7 @@ pub fn queueproc_remove_event(event: &QueuedCiEvent) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -583,7 +583,7 @@ pub fn queueproc_finished_run(repoid: &Option<RepoId>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -617,7 +617,7 @@ pub fn queueadd_start() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -644,7 +644,7 @@ pub fn queueadd_end(result: &Result<(), AdderError>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -680,7 +680,7 @@ pub fn pages_interval(interval: Duration) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -704,7 +704,7 @@ pub fn pages_end(result: &Result<(), PageError>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -714,7 +714,7 @@ pub fn pages_end(result: &Result<(), PageError>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -722,7 +722,7 @@ pub fn event_disconnected() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -738,25 +738,22 @@ pub fn broker_db(filename: &Path) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -937,7 +934,7 @@ pub fn error(msg: &str, e: &impl std::error::Error) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -945,7 +942,7 @@ pub fn worker_start(name: &str) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|