Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
Merge branch 'patch/bc2cc00'
Lars Wirzenius committed 1 year ago
commit a9fea0fdbe7cda440fdacec15807a7aba6755f11
parent 5483acf427c9e611f7b3f31a070d4273a5c09cf8
2 files changed +6 -2
modified src/bin/cib.rs
@@ -147,7 +147,7 @@ impl QueuedCmd {
        let adapter = Adapter::new(&spec.command)
            .with_environment(spec.envs())
            .with_environment(spec.sensitive_envs());
-
        logger::debug2(format!("default adapter: {adapter:?}"));
+
        logger::adapter_config(config);
        broker.set_default_adapter(&adapter);

        let mut event_notifications = NotificationChannel::default();
@@ -220,7 +220,7 @@ impl ProcessEventsCmd {
        let adapter = Adapter::new(&spec.command)
            .with_environment(spec.envs())
            .with_environment(spec.sensitive_envs());
-
        logger::debug2(format!("default adapter: {adapter:?}"));
+
        logger::adapter_config(config);
        broker.set_default_adapter(&adapter);

        let processor = QueueProcessorBuilder::default()
modified src/logger.rs
@@ -138,6 +138,10 @@ pub fn loaded_config(config: &Config) {
    debug!(slog_scope::logger(), "loaded configuration {config:#?}");
}

+
pub fn adapter_config(config: &Config) {
+
    debug!(slog_scope::logger(), "adapter configuration {config:#?}");
+
}
+

pub fn queueproc_start() {
    info!(
        slog_scope::logger(),