Merge branch 'patch/bc2cc00'

This commit is contained in:
Lars Wirzenius
2024-10-09 09:32:13 +03:00
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -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()
+4
View File
@@ -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(),