Skip to content

Commit

Permalink
derper logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox committed Jun 13, 2023
1 parent 2e36827 commit 33e2c52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/derper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
};
Expand Down

0 comments on commit 33e2c52

Please sign in to comment.