Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
feat: log thread start/end at info level normally
Lars Wirzenius committed 1 year ago
commit 47fc1311866c0cc5bfc0fea7c84e6e6f55a2c853
parent 192af40
1 file changed +4 -4
modified src/logger.rs
@@ -401,7 +401,7 @@ pub fn adapter_config(config: &Config) {
}

pub fn queueproc_start() {
-
    debug!(
+
    info!(
        msg_id = ?Id::QueueProcStart,
        kind = %Kind::Startup,
        "start thread to process events until a shutdown event"
@@ -417,7 +417,7 @@ pub fn queueproc_end(result: &Result<(), QueueError>) {
            "thread to process events ends"
        );
    } else {
-
        debug!(
+
        info!(
            msg_id = ?Id::QueueProcEnd,
            kind = %Kind::Debug,
            ?result,
@@ -531,7 +531,7 @@ pub fn queueproc_action_shutdown() {
}

pub fn queueadd_start() {
-
    debug!(
+
    info!(
        msg_id = ?Id::QueueAddStart,
        kind = %Kind::Debug,
        "start thread to add events from node to event queue"
@@ -566,7 +566,7 @@ pub fn queueadd_end(result: &Result<(), AdderError>) {
            "thread to process events ends"
        );
    } else {
-
        debug!(
+
        info!(
            msg_id = ?Id::QueueAddEnd,
            kind = %Kind::Debug,
            ?result,