Set log level to debug for preview deployment

Also, add a log statement when we receive the interrupt signal.

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-12-13 22:38:55 +01:00
parent c20204d269
commit b150efbd96
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,3 @@
ZED_ENVIRONMENT=preview ZED_ENVIRONMENT=preview
RUST_LOG=info RUST_LOG=debug
INVITE_LINK_PREFIX=https://zed.dev/invites/ INVITE_LINK_PREFIX=https://zed.dev/invites/

View file

@ -69,6 +69,7 @@ async fn main() -> Result<()> {
tokio::signal::ctrl_c() tokio::signal::ctrl_c()
.await .await
.expect("failed to listen for interrupt signal"); .expect("failed to listen for interrupt signal");
tracing::info!("Received interrupt signal");
rpc_server.teardown(); rpc_server.teardown();
}) })
.await?; .await?;