From 33e2c52c8d7a54caf5ae57fae2dfdb13701ca9aa Mon Sep 17 00:00:00 2001 From: Kasey Date: Tue, 13 Jun 2023 13:31:08 -0400 Subject: [PATCH] derper logging --- src/bin/derper.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/derper.rs b/src/bin/derper.rs index 927bdc7e62a..61de187d6e1 100644 --- a/src/bin/derper.rs +++ b/src/bin/derper.rs @@ -326,6 +326,7 @@ async fn main() -> Result<()> { // checked earlier let contact = cli.tls_contact.expect("checked earlier"); let is_production = cli.prod_tls; + debug!("tls contact {contact}, is production: {is_production}"); let (config, acceptor) = cli .cert_mode .gen_server_config( @@ -335,7 +336,9 @@ async fn main() -> Result<()> { cli.cert_dir.unwrap_or_else(|| PathBuf::from(".")), ) .await?; - Some(TlsConfig { config, acceptor }) + let cfg = TlsConfig { config, acceptor }; + debug!("tls config: {cfg:?}"); + Some(cfg) } else { None };